Was not able to load any file from HDFS


#1

In certification i was asked to process CSV file with .csv extension that was located in HDFS

I did like rdd=sc.textFile(path),when i did rdd.take(5) i got some error.

The same happened when loading .log file from HDFS. what might be the error why i was not able to load rdd from HDFS. Any clue??


#2

Paste the error you are getting to understand more. Some one can help you.