spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sai Prasanna <ansaiprasa...@gmail.com>
Subject File present but file not found exception
Date Thu, 08 May 2014 18:48:53 GMT
Hi Everyone,

I think all are pretty busy, the response time in this group has slightly
increased.

But anyways, this is a pretty silly problem, but could not get over.

I have a file in my localFS, but when i try to create an RDD out of it,
tasks fails with file not found exception is thrown at the log files.

*var file = sc.textFile("file:///home/sparkcluster/spark/input.txt");*
*file.top(1);*

input.txt exists in the above folder but still Spark coudnt find it. Some
parameters need to be set ??

Any help is really appreciated. Thanks !!

Mime
View raw message