"No nodes configured for partition" after creating a database via ETL

33 views
Skip to first unread message

Alexander Ramos Jardim

unread,
Apr 6, 2015, 8:54:23 PM4/6/15
to orient-...@googlegroups.com
Hi,

I've just created a custom database using the following ETL config,

{
  "source": { "file": { "path": "./inventory_stock.csv" } },
  "extractor": { "row": {} },
  "transformers": [
    { "csv": {} },
    { "vertex": { "class": "Stock" } }
  ],
  "loader": {
    "orientdb": {
       "dbURL": "plocal:/opt/orientdb/databases/Stock",
       "dbUser": "root",
       "dbPassword": "qrefhiuqwriouhwqv",
       "dbType": "graph",
       "classes": [
         {"name": "Stock", "extends": "V"},
       ]
    }
  }
}

Now, when I go to the web console, I can see I have 433k records of type Stock created at database Stock.

When I try to query it with "select from Stock", I get the error

2015-04-06 23:56:25:541 SEVERE Internal server error:
com.orientechnologies.orient.server.distributed.ODistributedException: No nodes configured for partition 'Stock.[]' request: id=-1 from=node1428362873334 task=command_sql(select from Stock) userName= [ONetworkProtocolHttpDb]

What am I doing wrong? 
Reply all
Reply to author
Forward
0 new messages