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 :
<property>
<name>fs.default.name</name>
<value>hdfs://host:port</value>
</property>
This port can be 9000 or 8020. Make sure that you are using the same port in your code or command
try this solution: add this config to hdfs-site.xml
<property>
<name>ipc.maximum.data.length</name>
<value>134217728</value>
</property>