RC01 中的 Neo4j 导入工具错误

Neo4j Import tool error in RC01

我已经使用批量导入工具在 2.2M03 上成功导入了一个大型 Neo4j 数据库。 但是现在我需要使用 2.2RC01 并且不能使用相同的导入工具,当我使用与之前导入相同的文件时出现导入空错误。

message.log 内容为:

2015-03-14 08:36:19.670+0000 INFO  [org.neo4j]: Import starting
2015-03-14 08:36:19.732+0000 INFO  [org.neo4j]: Creating new db @ C:\neo4j\neo4j\data\test.db\neostore
2015-03-14 08:36:20.418+0000 INFO  [org.neo4j]: Missing counts store, rebuilding it.
2015-03-14 08:37:10.132+0000 ERROR [org.neo4j]: Error during import null
java.lang.NullPointerException
    at org.neo4j.unsafe.impl.batchimport.input.csv.InputGroupsDeserializer.position(InputGroupsDeserializer.java:95)
    at org.neo4j.unsafe.impl.batchimport.staging.IteratorBatcherStep.position(IteratorBatcherStep.java:70)
    at org.neo4j.unsafe.impl.batchimport.staging.IoProducerStep.stat(IoProducerStep.java:52)
    at org.neo4j.unsafe.impl.batchimport.stats.StepStats.stat(StepStats.java:90)
    at org.neo4j.unsafe.impl.batchimport.stats.StepStats.toString(StepStats.java:115)
    at org.neo4j.unsafe.impl.batchimport.staging.SpectrumExecutionMonitor.printSpectrum(SpectrumExecutionMonitor.java:138)
    at org.neo4j.unsafe.impl.batchimport.staging.SpectrumExecutionMonitor.check(SpectrumExecutionMonitor.java:105)
    at org.neo4j.unsafe.impl.batchimport.staging.MultiExecutionMonitor.check(MultiExecutionMonitor.java:106)
    at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisor.supervise(ExecutionSupervisor.java:65)
    at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisors.superviseDynamicExecution(ExecutionSupervisors.java:65)
    at org.neo4j.unsafe.impl.batchimport.ParallelBatchImporter.executeStages(ParallelBatchImporter.java:226)
    at org.neo4j.unsafe.impl.batchimport.ParallelBatchImporter.doImport(ParallelBatchImporter.java:151)
    at org.neo4j.tooling.ImportTool.main(ImportTool.java:263)

奇怪的是,在某一时刻,导入 n 个节点后导入失败,而另一点导入不同数量的节点后导入失败。

2.2RC01的文件格式有变化吗?我已经阅读了手册,但没有发现任何区别。

此问题已修复,将包含在 2.2 的下一个版本中。供您参考:https://github.com/neo4j/neo4j/pull/4128