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

后端 未结 2 1094
误落风尘
误落风尘 2020-12-07 05:28

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

2条回答
  •  伪装坚强ぢ
    2020-12-07 06:22

    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

提交回复
热议问题