Exception “: org.apache.hadoop.ipc.RpcException: RPC response exceeds maximum data length” from java

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

Leave a Comment