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