--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
C:\Users\Mr. Kwox\Desktop\orientdb-community-2.0-M3\bin>oetl.bat etl-stuff\perso
n.json
OrientDB etl v.2.0-M3 (build @BUILD@) www.orientechnologies.com
Exception in thread "main" java.lang.NoSuchMethodError: com.orientechnologies.or
ient.core.record.impl.ODocument.fromJSON(Ljava/lang/String;Ljava/lang/String;)Lc
om/orientechnologies/orient/core/record/impl/ODocument;
at com.orientechnologies.orient.etl.OETLProcessor.main(OETLProcessor.jav
a:147)
{
"source": { "file": { "path": "/etl-stuff/person.csv" } },
"extractor": { "row": {} },
"transformers": [
{ "csv": {} },
{ "vertex": { "class": "Person" } }
],
"loader": {
"orientdb": {
"dbURL": "plocal:C:/Users/Mr. Kwox/Desktop/orientdb-community-2.0-M3/databases/test",
"dbType": "graph",
"classes": [
{"name": "Person", "extends": "V"},
{"name": "Post", "extends": "V"},
{"name": "HasPost", "extends": "E"}
], "indexes": [
{"class":"Person", "fields":["ID:integer"], "type":"UNIQUE" }
]
}
}
}
Not able to get it working. I always get:
C:\Users\Mr. Kwox\Desktop\orientdb-community-2.0-M3\bin>oetl.bat etl-stuff\perso
n.json
OrientDB etl v.2.0-M3 (build @BUILD@) www.orientechnologies.com
Exception in thread "main" java.lang.NoSuchMethodError: com.orientechnologies.or
ient.core.record.impl.ODocument.fromJSON(Ljava/lang/String;Ljava/lang/String;)Lc
om/orientechnologies/orient/core/record/impl/ODocument;
at com.orientechnologies.orient.etl.OETLProcessor.main(OETLProcessor.jav
a:147)
And I already got it working as you can see here. So what's wrong now?
Am Dienstag, 9. Dezember 2014 10:20:02 UTC+1 schrieb Curtis Mosters:
C:\Users\Mr. Kwox\Desktop\orientdb-community-2.0-SNAPSHOT\bin>oetl.bat etl-stuff
\person.json
OrientDB etl v.2.0-SNAPSHOT (build @BUILD@) www.orientechnologies.com
BEGIN ETL PROCESSOR
[1:vertex] DEBUG Transformer input: {ID:1,name:Hans}
Pipeline execution halted
ETL process halted: com.orientechnologies.orient.etl.OETLProcessHaltedException:
Graph instance not found. Assure you have configured it in the Loader
{
"config": {
"log": "debug"
},
"extractor" : {
"jdbc": { "driver": "com.mysql.jdbc.Driver",
"url": "jdbc:mysql://localhost/test",
"userName": "root",
"userPassword": "",
"query": "select * from Person" }
},
"transformers" : [
{ "vertex": { "class": "Person"} }
],
"loader" : {
"orientdb": {
"dbURL": "plocal:C:/Users/Mr. Kwox/Desktop/orientdb-community-2.0-SNAPSHOT/databases/test",
"dbType": "graph",
"dbAutoCreate": true
}
}
}