I can't seem to avoid getting exceptions when importing an MLCP archive. It
consists of a root folder and two ZIPs, each about 190MB, and it was exported
from ML 8.0-3.2 on Windows using MLCP 1.3-3. I imported this into a Mac running
the same versions of ML and MLCP. All of the source documents appear to have
been imported successfully anyway, regardless of the errors, but is there
something I should be doing differently to prevent this?
$ mlcp import -host localhost -port 10003 -username admin -password ********
-input_file_type archive -input_file_path /path/to/mlcp-archive/
15/10/29 17:18:50 INFO contentpump.ContentPump: Hadoop library version: 2.6.0
15/10/29 17:18:50 INFO contentpump.LocalJobRunner: Content type: XML
15/10/29 17:18:51 INFO input.FileInputFormat: Total input paths to process : 2
15/10/29 17:18:52 INFO contentpump.LocalJobRunner: completed 0%
15/10/29 17:30:43 INFO contentpump.LocalJobRunner: completed 50%
15/10/29 17:32:32 ERROR contentpump.MultithreadedMapper:
java.lang.NullPointerException
at
com.marklogic.mapreduce.DatabaseDocument.write(DatabaseDocument.java:168)
at
com.marklogic.contentpump.DatabaseDocumentWithMeta.write(DatabaseDocumentWithMeta.java:70)
at
org.apache.hadoop.io.serializer.WritableSerialization$WritableSerializer.serialize(WritableSerialization.java:98)
at
org.apache.hadoop.io.serializer.WritableSerialization$WritableSerializer.serialize(WritableSerialization.java:82)
at org.apache.hadoop.util.ReflectionUtils.copy(ReflectionUtils.java:292)
at
com.marklogic.contentpump.MultithreadedMapper$SubMapRecordReader.nextKeyValue(MultithreadedMapper.java:287)
at
org.apache.hadoop.mapreduce.task.MapContextImpl.nextKeyValue(MapContextImpl.java:80)
at
org.apache.hadoop.mapreduce.lib.map.WrappedMapper$Context.nextKeyValue(WrappedMapper.java:91)
at
com.marklogic.contentpump.BaseMapper.runThreadSafe(BaseMapper.java:45)
at
com.marklogic.contentpump.MultithreadedMapper$MapRunner.run(MultithreadedMapper.java:376)
at
com.marklogic.contentpump.MultithreadedMapper.run(MultithreadedMapper.java:215)
at
com.marklogic.contentpump.LocalJobRunner$LocalMapTask.call(LocalJobRunner.java:376)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
15/10/29 17:32:34 ERROR contentpump.MultithreadedMapper:
java.lang.NullPointerException
...
15/10/29 17:32:34 INFO contentpump.LocalJobRunner:
com.marklogic.contentpump.ContentPumpStats:
15/10/29 17:32:34 INFO contentpump.LocalJobRunner:
ATTEMPTED_INPUT_RECORD_COUNT: 38271
15/10/29 17:32:34 INFO contentpump.LocalJobRunner: SKIPPED_INPUT_RECORD_COUNT: 0
15/10/29 17:32:34 INFO contentpump.LocalJobRunner: Total execution time: 823 sec
-Will
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general