Incorrect configuration: namenode address dfs.namenode.rpc-address is not configured

前端 未结 13 1953
被撕碎了的回忆
被撕碎了的回忆 2020-12-16 01:11

I am getting this error when I try and boot up a DataNode. From what I have read, the RPC paramters are only used for a HA configuration, which I am not setting up (I think)

13条回答
  •  遥遥无期
    2020-12-16 01:26

    Obviously,your core-site.xml has configure error.

    
     fs.defaultFS
     hdfs://namenode:8020
    
    

    Your fs.defaultFS setting as hdfs://namenode:8020,but your machine hostname is datanode1.So you just need change namenode to datanode1 will be OK.

提交回复
热议问题