Neo4j导入失败

时间:2017-01-28 11:40:07

标签: csv import neo4j

我正在尝试使用neo4j-import导入数据集。不幸的是,导入失败并出现以下错误消息,这对我来说并不多。有没有人有想法?

谢谢

命令是:

./ neo4j-import --into /home_expes/dd77474h/neo4j-community-3.0.7/data/databases/graph.db/ --nodes/home_expes/dd77474h/Indexing-server/reduced_dbpedia_nodes.csv --relationships /home_expes/dd77474h/Indexing-server/reduced_dbpedia_relations.csv --stacktrace true --id-type

reduced_dbpedia_nodes.csv:

ID:ID,URI,:LABEL 如图7所示, “http://dbpedia.org/resource/Albedo”,资源

reduced_dbpedia_relations.csv

:START_ID,:END_ID,:TYPE 1,2 “http://www.w3.org/1999/02/22-rdf-syntax-ns#type

错误讯息:

关系 - >关系稀疏 [>:231.50 MB / s -------------------------- | LINK(3)== | * v:130.76 MB / s- ----------------------------] 171M

完成24s 824ms

少数民族关系 [*插入 - - - - - - - - - - - - - - - - - - - - - - - - ---------------------------------------] 540K

完成时间为14分31秒126秒

统计小组 [* GT;:?? ------------------------------------------- --------------------------------- | COUNT ------] 12.2M 完成时间为2s 786ms

收集

java.lang.RuntimeException:Panic调用,所以退出         at org.neo4j.unsafe.impl.batchimport.staging.AbstractStep.assertHealthy(AbstractStep.java:155)         在org.neo4j.unsafe.impl.batchimport.staging.ProducerStep.process(ProducerStep.java:84)         在org.neo4j.unsafe.impl.batchimport.staging.ProducerStep $ 1.run(ProducerStep.java:54)

引起:java.lang.IllegalStateException:对于startIndex:28899,组计数为-25966,我没有空间。这意味着对incrementGroupCount的调用和发送到put的实际内容之间存在不对称性         at org.neo4j.unsafe.impl.batchimport.RelationshipGroupCache.scanForFreeFrom(RelationshipGroupCache.java:203)         at org.neo4j.unsafe.impl.batchimport.RelationshipGroupCache.put(RelationshipGroupCache.java:159)         在org.neo4j.unsafe.impl.batchimport.CacheGroupsStep.process(CacheGroupsStep.java:48)         at org.neo4j.unsafe.impl.batchimport.CacheGroupsStep.process(CacheGroupsStep.java:31)         at org.neo4j.unsafe.impl.batchimport.staging.ProcessorStep.lambda $ receive $ 2(ProcessorStep.java:97)         at org.neo4j.unsafe.impl.batchimport.executor.DynamicTaskExecutor $ Processor.run(DynamicTaskExecutor.java:243)

导入错误:已发出恐慌,因此退出

引起:恐慌叫,所以退出 java.lang.RuntimeException:Panic调用,所以退出         at org.neo4j.unsafe.impl.batchimport.staging.AbstractStep.assertHealthy(AbstractStep.java:155)         在org.neo4j.unsafe.impl.batchimport.staging.ProducerStep.process(ProducerStep.java:84)         在org.neo4j.unsafe.impl.batchimport.staging.ProducerStep $ 1.run(ProducerStep.java:54) 引起:java.lang.IllegalStateException:对于startIndex:28899,组计数为-25966,我没有空间。这意味着对incrementGroupCount的调用和发送到put的实际内容之间存在不对称性         at org.neo4j.unsafe.impl.batchimport.RelationshipGroupCache.scanForFreeFrom(RelationshipGroupCache.java:203)         at org.neo4j.unsafe.impl.batchimport.RelationshipGroupCache.put(RelationshipGroupCache.java:159)         在org.neo4j.unsafe.impl.batchimport.CacheGroupsStep.process(CacheGroupsStep.java:48)         at org.neo4j.unsafe.impl.batchimport.CacheGroupsStep.process(CacheGroupsStep.java:31)         at org.neo4j.unsafe.impl.batchimport.staging.ProcessorStep.lambda $ receive $ 2(ProcessorStep.java:97)         at org.neo4j.unsafe.impl.batchimport.executor.DynamicTaskExecutor $ Processor.run(DynamicTaskExecutor.java:243)

1 个答案:

答案 0 :(得分:0)

感谢您的帮助,我发现了这个错误。仅供参考,请参阅https://github.com/neo4j/neo4j/pull/8778进行修复。