I am trying to connect to remote HDFS from Java program running in my desktop\'s Eclipse. I am able to connect. But get this Exception while trying to read data:
Cau
Check your core-site.xml :
fs.default.name hdfs://host:port
This port can be 9000 or 8020. Make sure that you are using the same port in your code or command