Reputation: 319
I am using dse-5-0-5 and graphloader to load data from GraphML. While giving command:
graphloader ./scripts/graphml2Vertex/recipeMappingGraphML.groovy -graph testGraphML -address 172.31.35.238 -load_failure_log /home/centos/DSE/dse-graph-loader-5.0.5/scripts/graphml2Vertex/loadfailure.log -dryrun true
I am getting error: groovy.lang.MissingMethodException: No signature of method: com.datastax.dsegraphloader.api.GraphSource$VerticesBuilder.withVertexId() is applicable for argument types: () values: [] at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58) at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:49) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) at Script1.run(Script1.groovy:19) at com.datastax.dsegraphloader.cli.GroovyScriptExecutor.evaluate(GroovyScriptExecutor.java:106) at com.datastax.dsegraphloader.cli.Executable.execute(Executable.java:72) at com.datastax.dsegraphloader.cli.Executable.main(Executable.java:171)
I have imported the data as graphML from orientdb (by using g.saveGraphML(filename.xml) funtion ) and now trying to include the same data in DSE graph using graphloader (import graphMl) .Can you please tell the cause of this kind of error?
-Varun
Upvotes: 0
Views: 294
Reputation: 96
I just discovered yesterday that the withVertexId()
needs to be removed in order for graphloader to run the Mapping Script. I'll be changing the documentation.
Upvotes: 2