Hi Luigi,

Thanks  a lot for your advice.

I used plocal (not remote).  Retied with the server being stopped. 
 However, I had new errors:
OrientDB etl v.2.0.8 (build @BUILD@) www.orientechnologies.com
BEGIN ETL PROCESSOR
Error in Pipeline execution: java.lang.NullPointerException
java.lang.NullPointerException
        at 
com.orientechnologies.orient.etl.transformer.OVertexTransformer.executeTransform(OVertexTransformer.java:58)
        at 
com.orientechnologies.orient.etl.transformer.OAbstractTransformer.transform(OAbstractTransformer.java:37)
        at 
com.orientechnologies.orient.etl.OETLPipeline.execute(OETLPipeline.java:108)
        at 
com.orientechnologies.orient.etl.OETLProcessor.executeSequentially(OETLProcessor.java:482)
        at 
com.orientechnologies.orient.etl.OETLProcessor.execute(OETLProcessor.java:290)
        at 
com.orientechnologies.orient.etl.OETLProcessor.main(OETLProcessor.java:160)
ETL process halted: 
com.orientechnologies.orient.etl.OETLProcessHaltedException: 
java.lang.NullPointerException



my json config file:

{
  "source": { "file": { "path": "/home/jwang/orientdb_lab/customer.csv" } },
  "extractor": { "row": {} },
  "transformers": [
    { "csv": {} },
    { "vertex": { "class": "customer" } }
  ],
  "loader": {
    "orientdb": {
       "dbURL": 
"plocal:/data/downloads/orientdb-community-2.0.8/databases/test",
       "dbType": "document",
       "dbUser": "admin",
       "dbPassword": "admin",
       "classes": [
         {"name": "customer" },
       ], "indexes": [
         {"class":"customer", "fields":["email:string"], "type":"UNIQUE" }
       ]
    }
  }
}


and csv file (just random testing data):
/home/jwang/orientdb_lab/customer.csv

1,[email protected]
2,[email protected]
3,[email protected]
4,[email protected]
5,[email protected]
6,[email protected]
7,[email protected]
8,[email protected]
9,[email protected]
10,[email protected]
..................


command used:   oetl.sh /home/jwang/orientdb_lab/customer.json



Please help.

Thanks a lot in advance.

James

On Friday, 29 May 2015 12:18:31 UTC+1, James Wang wrote:
>
> Hi All,
>
> I am new to OrientDB and trying to import data from a CSV file using the 
> ETL tool.
>
> Do I need to stop the OrientDB server firstly please?
> Please help.
>
> Thanks a lot in advance
> James
>

-- 

--- 
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.

Reply via email to