This is really weird? Perhaps some problem with line endings in relations.csv ? And you're sure you have no typo in the filename?
What does your batch.properties looks like? Cheers, Michael ---- (michael}-[:SUPPORTS]->(YOU)-[:USE]->(Neo4j) Learn Online, Offline or Read a Book (in Deutsch) We're trading T-shirts for cool GraphGist Models Am 08.03.2014 um 12:12 schrieb ceren abay <[email protected]>: > I used batch importer for converting relational data into neo4j. I have used > batch-importer for this purpose. However I can create only nodes. I can't > create relationships. > > I used this command in command prompt: > > java -server -Xmx4G -jar batch-import-jar-with-dependencies.jar > target/muta-buyuk nodes.csv relations.csv > and result is: > > Importing 5 Nodes took 0 seconds > Total import time: 1 seconds > my nodes.csv structure is: > > id name > 1 kubra > 2 ali > 3 yusuf > 4 esra > 5 aysegul > my relations.csv structure is: > > start end type > 1 2 parent_of > 2 3 parent_of > 3 4 parent_of > 3 5 parent_of > 1 2 ancestor_of > 2 3 ancestor_of > 3 4 ancestor_of > 3 5 ancestor_of > 1 3 ancestor_of > 1 4 ancestor_of > 1 5 ancestor_of > 2 4 ancestor_of > 2 5 ancestor_of > I can't understand why relations are not constructed. I have done this before > and it worked. When I try it again it fail. > These are muta-buyuk/messages: > 2014-03-08 11:07:10.758+0000: Thread[main,5,main] Starting > BatchInserter(EmbeddedBatchInserter[C:\Users\ceren\Desktop\hedef]) > 2014-03-08 11:07:12.410+0000: Thread[main,5,main] Clean shutdown on > BatchInserter(EmbeddedBatchInserter[C:\Users\ceren\Desktop\hedef]) > Could you help me to solve this problem? > > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
