I have HDFS servers running locally and "hadoop dfs -ls /" are all running fine.
>From spark-shell I do this:
val lines = sc.textFile("hdfs:///test")
and I get this error message.
java.io.IOException: Failed on local exception: java.io.EOFException; Host
Details : local host is: "localhost.localdomain/127.0.0.1"; destination host
is: "localhost":9000;
I tried changing the contents of /etc/hosts to no avail. I also tried urls like
hdfs://localhost:9000/test and many other variants. Nothing worked. Also I see
a message (during spark-shell startup) that it has bound to a 192.168.x.x
address. Any help is appreciated.
-- Bharath