Hello.
I am trying to import data from json file with ETL in my docker container.
When running official command from Orentdb Docker :
docker run --rm -it -v /orientdb/config orientdb /orientdb/bin/oetl.sh importAccount.json
I am receiving this error :
OrientDB etl v.3.2.2 (build 6df1d1942b88896dabea123fe1b8b0c6975e025a, branch UNKNOWN) https://www.orientdb.com
2021-12-09 12:46:46:382 INFO Detected limit of amount of simultaneously open files is 1048576, limit of open files for disk cache will be set to 523776 [ONative]Exception in thread "main" com.orientechnologies.orient.core.exception.OConfigurationException: Error on loading config file: importAccount.json
at com.orientechnologies.orient.etl.OETLProcessorConfigurator.parseConfigAndParametersWithContext(OETLProcessorConfigurator.java:89)
at com.orientechnologies.orient.etl.OETLProcessorConfigurator.parseConfigAndParameters(OETLProcessorConfigurator.java:68)
at com.orientechnologies.orient.etl.OETLProcessor.main(OETLProcessor.java:121)
Caused by: java.io.FileNotFoundException: importAccount.json (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at com.orientechnologies.common.io.OIOUtils.readFileAsString(OIOUtils.java:133)
at com.orientechnologies.orient.etl.OETLProcessorConfigurator.parseConfigAndParametersWithContext(OETLProcessorConfigurator.java:79) ... 2 more
This is my container CLI, as you can see importAccount.json file is in bin folder.
As I understand oetl.sh can't find json file specified because of this error:
(No such file or directory)
I tried moving this file writing full path but nothing helps.
Inside docker oetl.sh working fine until it needs to insert data from json file. (Orient is running so data can't be inserted)
Hello. I am trying to import data from json file with ETL in my docker container. When running official command from Orentdb Docker :
docker run --rm -it -v /orientdb/config orientdb /orientdb/bin/oetl.sh importAccount.json
I am receiving this error :
This is my container CLI, as you can see importAccount.json file is in bin folder.
As I understand oetl.sh can't find json file specified because of this error:
I tried moving this file writing full path but nothing helps.
Inside docker oetl.sh working fine until it needs to insert data from json file. (Orient is running so data can't be inserted)