OrientDB ETL returns error “Cannot check the existance of a database in a remote server"

36 views
Skip to first unread message

nija kanthan

unread,
Nov 30, 2015, 2:34:37 AM11/30/15
to OrientDB

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
Reply all
Reply to author
Forward
0 new messages