I have an error when I use oetl.sh
OrientDB etl v.2.1.2 (build @BUILD@) www.orientdb.com
Exception in thread "main"
com.orientechnologies.orient.core.exception.OConfigurationException: Error
on creating ETL processor
at
com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:278)
at
com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:186)
at
com.orientechnologies.orient.etl.OETLProcessor.main(OETLProcessor.java:161)
Caused by: com.orientechnologies.orient.etl.source.OSourceException: [File
source] path '../posts.csv' not exists
at
com.orientechnologies.orient.etl.source.OFileSource.configure(OFileSource.java:83)
at
com.orientechnologies.orient.etl.OETLProcessor.configureComponent(OETLProcessor.java:498)
at
com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:238)
... 2 more
Filles : post.csv and post.json
post.csv
id,title
10,NoSQL movement
20,New OrientDB
post.json
{
"source": { "file": { "path": "../posts.csv" } },
"extractor": { "row": {} },
"transformers": [
{ "csv": {} },
{ "vertex": { "class": "Post" } }
],
"loader": {
"orientdb": {
"dbURL": "plocal:../databases/blog",
"dbType": "graph",
"classes": [
{"name": "Post", "extends": "V"},
{"name": "Comment", "extends": "V"},
{"name": "HasComments", "extends": "E"}
], "indexes": [
{"class":"Post", "fields":["id:integer"], "type":"UNIQUE" }
]
}
}
}
--
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.