marklogic - XML file upload using MLCP -


we trying upload xml files(some of them of 2gb) not getting uploaded in database using mlcp.

  1. i created new database , forest , new port .

  2. made changes mlcp.bat below

    set optfile="load_mlcp.txt" call d:\mlcp-1.3-3-bin\mlcp-1.3-3\bin\mlcp.bat -options_file %optfile%  echo "data load complete" pause 
  3. the load_mlcp.txt file has below code

    import -mode local -host localhost -port 8047 -username admin -password ###### -input_file_path  d:\\mlcp_data\\ -output_uri_replace "mlcp_data" 
  4. ran mlcp.bat file in command prompt not see xml files(not small files) being uploaded in database .

  5. we getting error : "batch recursion exceeds stack limits" , "batch processing aborted".

please , suggest .

the error message in step 5 indicates have batch file calling recursively. sounds accidentally edited d:\mlcp-1.3-3-bin\mlcp-1.3-3\bin\mlcp.bat make call recursively.

you better choose different batch file name initiate mlcp correct options.

in addition comment dave, recommend looking @ mlcp support splitting large xml files. marklogic works better relatively small xml fragments, on record or book or object level. can find more details here:

http://docs.marklogic.com/guide/ingestion/content-pump#id_65814

hth!


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -