Here is my json file content
"config": {
"log": "debug",
"parallel": false,
"fileDirectory": "<file path>",
"fileName": "<file name>",
"className": "<class name>",
"dbURL": "remote:localhost/<my deb name>",
"dbUser": "admin",
"dbPassword": "admin"},"source": {
"file": {
"path": "$filePath",
"lock": false
}},"extractor": {
"row": {}},"transformers": [
{
"csv": {
"separator": ",",
"columnsOnFirstLine": true,
"nullValue": "NULL"
}
}],"loader": {
"orientdb": {
"dbURL": "$dbURL",
"dbUser": "$dbUser",
"dbPassword": "$dbPassword",
"dbAutoDropIfExists": false,
"dbAutoCreate": false,
"standardElementConstraints": false,
"tx": false,
"wal": false,
"batchCommit": 1000,
"dbType": "document",
"class": "<class name>"
}}
Error message:
OrientDB etl v.2.0.3 (build @BUILD@) www.orientechnologies.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:188) at
com.orientechnologies.orient.etl.OETLProcessor.main(OETLProcessor.java:163)
Caused by: java.lang.UnsupportedOperationException: *Cannot check the existance
of a database in a remote server. Please use the console or the OServerAdmin
class.* at
com.orientechnologies.orient.client.remote.OStorageRemote.exists(OStorageRemote.java:273)
at
com.orientechnologies.orient.client.remote.OStorageRemoteThread.exists(OStorageRemoteThread.java:177)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.exists(ODatabaseDocumentTx.java:1050)
at
com.orientechnologies.orient.etl.loader.OOrientDBLoader.configure(OOrientDBLoader.java:246)
at
com.orientechnologies.orient.etl.OETLProcessor.configureComponent(OETLProcessor.java:494)
at
com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:251)
... 2 more
--
---
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.