cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Getting an error while trying to read CSV files through HDFS with Neo4j apoc

I'm trying to read a csv file located in my hdfs filesystem through apoc library in Neo4j with the following line of code:

CALL apoc.load.csv('hdfs://ipAddrress:port/myFileLocation.csv')

I also disabled Neo4j configuration for apoc and enabled importing files through apoc. So i included the following lines in my configuration file:

apoc.import.file.use_neo4j_config=false
apoc.import.file.enabled=true

but i keep getting the following error:

Failed to invoke procedure `apoc.load.csv`: Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.fs.FSDataOutputStream

The dependencies are built into neo4j apoc extension but i don't know why the hadoop-related class can't be found. I'm using Neo4j 1.2.9 with apoc version 4.0.0.15. Any help?

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online