neo4j-import import error:源代码冲突太多

时间:2017-05-17 12:39:22

标签: neo4j

我想使用以下命令将csv文件中的数据导入neo4j:

../bin/neo4j-import --into ../data/databases/entity.db --nodes:Entity
"nodes_header.csv,node.csv" --relationships:RELE 
"edges_header.csv,edge.csv" --multiline-fields=true --bad-tolerance 
100000000 --stacktrace true --skip-duplicate-nodes true

CSV文件中有大约20亿个节点和100亿个边缘。

nodes_header.csv的内容是: type,value,id:ID

edges_header.csv的内容是: :START_ID,:END_ID

但我得到的错误如下:

[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.01B
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.03B
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.04B
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.06B
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.08B
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.09B
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.11B
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.13B
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.14BException in thread "Thread-1302" java.lan
g.IllegalArgumentException: Collision in source with too many lines (-2143568315)
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.SourceInformation.encodeSourceInformation(SourceInformation.java:52)
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:486)
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:282)
at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:54)
at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep$1.run(LonelyProcessingStep.java:56)
Import error: Collision in source with too many lines (-2143568315)
Caused by:Collision in source with too many lines (-2143568315)
java.lang.IllegalArgumentException: Collision in source with too many lines (-2143568315)
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.SourceInformation.encodeSourceInformation(SourceInformation.java:52)
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:486)
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:282)
at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:54)
at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep$1.run(LonelyProcessingStep.java:56)

Input error: Collision in source with too many lines (-2143568315)
Caused by:Collision in source with too many lines (-2143568315)
java.lang.IllegalArgumentException: Collision in source with too many lines (-2143568315)
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.SourceInformation.encodeSourceInformation(SourceInformation.java:52)
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:486)
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:282)
at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:54)
at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep$1.run(LonelyProcessingStep.java:56)

Neo4j版本:3.1.2社区

操作系统:linux

是我对neo4j-import的使用权吗?

0 个答案:

没有答案