How to OETL CSV #9961
Answered
by
tglman
ZachMurray
asked this question in
Q&A
How to OETL CSV
#9961
-
ProblemOETL is not importing CSV. Stepsdocker run -d --name orientdb -p 2424:2424 -p 2480:2480 -e ORIENTDB_ROOT_PASSWORD=rootpwd orientdb {
"config": {
"log": "debug"
},
"begin": [],
"source": {
"file": {
"path": "/home/dataverse_files/input/Anatomy.csv",
"lock": true
}
},
"extractor": {
"row": {}
},
"transformers": [
{
"csv": {
"separator": ",",
"nullValue": "NULL",
"skipFrom": 1,
"skipTo": 1
}
},
{
"vertex": {
"class": "V"
}
}
],
"loader": {
"orientdb": {
"dbURL": "remote:localhost:2480",
"dbUser": "root",
"dbPassword": "rootpwd",
"dbAutoCreate": true,
"tx": false,
"batchCommit": 1000,
"dbType": "graph"
}
}
} docker cp dataverse_files orientdb:/home/ winpty docker exec -it orientdb sh
cd bin oetl.sh /home/dataverse_files/input/Orientdb/Anatomy-config.json ResultsExpected:Options:
Actual:
|
Beta Was this translation helpful? Give feedback.
Answered by
tglman
Apr 7, 2023
Replies: 1 comment 2 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My mistake as well, the port there is not the 2480(http protocol) but need to be 2424 (binary protocol), just remove it and will chose the default
remote:localhost/dbName