简体   繁体   English

Neo4J和Talend BD插入关系-节点不存在

[英]Neo4J and Talend BD inserting a relationship - node doesn't exist

I use Talend Open Studio Big Data to migrate my MySQL DB to Neo4j, i successfully migrated about 5 tables and 4 relations but I got stuck on a very weird problem. 我使用Talend Open Studio大数据将我的MySQL数据库迁移到Neo4j,我成功迁移了大约5个表和4个关系,但是我遇到了一个非常奇怪的问题。 When inserting a relationship I get: 插入关系时,我得到:

Exception in component tNeo4jOutputRelationship_1
java.lang.RuntimeException: End node looked up by index with _id as key and Skill.4 as value doesn't exist

but: 但:

  • the node clearly exists and gets picked up by an appropriate cypher query (using the _id index of course) 该节点明显存在并被适当的密码查询(当然使用_id索引)提取
  • the node is defined as starting node, not end node and I'm dead sure everything is set up correctly because outputing a delimited file shows proper structure 该节点被定义为起始节点,而不是结束节点,并且我确定所有设置都正确,因为输出定界文件显示了正确的结构

Anyone? 任何人?

After a few furious hours I found the solution - the error message specifies a wrong node - it was actualy the other node (the other end of the relationship) that was causing the problem. 几个小时后,我找到了解决方案-错误消息指定了错误的节点-实际上是引起问题的另一个节点(关系的另一端)。

Also beware of setting the connection on every neo4j operation in embedded mode - if you don't the job will execute fine, not give you any error but not do anything... 还请注意在嵌入式模式下的每个neo4j操作上设置连接-如果您不执行此作业,则不会执行任何错误,但不会执行任何操作...

What I would suggest, as this is a specific question, is to go on the editor's forum to ask the question. 由于这是一个特定的问题,我建议您在编辑者论坛上提问。 Community members and the team will be able to help out on your question and give you advice. 社区成员和团队将能够帮助您解决问题并提供建议。 They might even ask you to bugtrack the question! 他们甚至可能会要求您跟踪问题!

Here a link to the Big Data product forum: http://www.talendforge.org/forum/viewforum.php?id=35 这里是大数据产品论坛的链接: http : //www.talendforge.org/forum/viewforum.php?id=35

Best, TD. 最好,TD。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM