gpt4 book ai didi

neo4j - 使用 neo4j-import 命令时出现错误 "Mixing specified and unspecified group belongings in a single import isn' t 支持”

转载 作者:行者123 更新时间:2023-12-04 22:59:34 24 4
gpt4 key购买 nike

我正在尝试将大量数据导入 Neo4j,使用 LOAD CSV 方式导入这些数据需要很长时间。

出于这个原因,我正在尝试使用 neo4j-import 命令,但出现以下错误,我没有找到任何有关它的信息或它的确切含义。错误是:

 2015-04-29 14:34:06.225+0000 ERROR [org.neo4j]: Error during import Mixing specified and unspecified group belongings in a single import isn't supported
java.lang.RuntimeException: Mixing specified and unspecified group belongings in a single import isn't supported
at org.neo4j.unsafe.impl.batchimport.staging.StageExecution.stillExecuting(StageExecution.java:62)
at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisor.anyStillExecuting(ExecutionSupervisor.java:79)
at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisor.finishAwareSleep(ExecutionSupervisor.java:102)
at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisor.supervise(ExecutionSupervisor.java:64)
at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisors.superviseExecution(ExecutionSupervisors.java:80)
at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisors.superviseDynamicExecution(ExecutionSupervisors.java:59)
at org.neo4j.unsafe.impl.batchimport.ParallelBatchImporter.executeStages(ParallelBatchImporter.java:239)
at org.neo4j.unsafe.impl.batchimport.ParallelBatchImporter.doImport(ParallelBatchImporter.java:159)
at org.neo4j.tooling.ImportTool.main(ImportTool.java:293)
at org.neo4j.tooling.ImportTool.main(ImportTool.java:227)
Caused by: java.lang.IllegalStateException: Mixing specified and unspecified group belongings in a single import isn't supported
at org.neo4j.unsafe.impl.batchimport.input.Groups.getOrCreate(Groups.java:53)
at org.neo4j.unsafe.impl.batchimport.input.csv.InputNodeDeserialization.initialize(InputNodeDeserialization.java:60)
at org.neo4j.unsafe.impl.batchimport.input.csv.InputEntityDeserializer.initialize(InputEntityDeserializer.java:67)
at org.neo4j.unsafe.impl.batchimport.input.csv.InputGroupsDeserializer.createNestedIterator(InputGroupsDeserializer.java:74)
at org.neo4j.unsafe.impl.batchimport.input.csv.InputGroupsDeserializer.createNestedIterator(InputGroupsDeserializer.java:35)
at org.neo4j.helpers.collection.NestingIterator.fetchNextOrNull(NestingIterator.java:67)
at org.neo4j.helpers.collection.PrefetchingIterator.peek(PrefetchingIterator.java:60)
at org.neo4j.helpers.collection.PrefetchingIterator.hasNext(PrefetchingIterator.java:46)
at org.neo4j.unsafe.impl.batchimport.staging.IteratorBatcherStep.nextBatchOrNull(IteratorBatcherStep.java:53)
at org.neo4j.unsafe.impl.batchimport.InputIteratorBatcherStep.nextBatchOrNull(InputIteratorBatcherStep.java:41)
at org.neo4j.unsafe.impl.batchimport.staging.ProducerStep.process(ProducerStep.java:74)
at org.neo4j.unsafe.impl.batchimport.staging.ProducerStep$1.run(ProducerStep.java:54)

有没有人遇到过同样的问题或碰巧知道这意味着什么?

非常感谢,
胡安·M·塞拉

最佳答案

什么是“相当数量的数据”?请分享您的文件结构/标题?

我想你有几列带有 :ID(group) 和 :START_ID(group) ,还有一些没有。确保每个关系文件始终定义了分组。

例如。 :START_ID(group1),:END_ID(group2)

关于neo4j - 使用 neo4j-import 命令时出现错误 "Mixing specified and unspecified group belongings in a single import isn' t 支持”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29947284/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com