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

前端 未结 13 1945
被撕碎了的回忆
被撕碎了的回忆 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:20

    I had the exact same issue. I found a resolution by checking the environment on the Data Node:

    $ sudo update-alternatives --install /etc/hadoop/conf hadoop-conf /etc/hadoop/conf.my_cluster 50
    $ sudo update-alternatives --set hadoop-conf /etc/hadoop/conf.my_cluster
    

    Make sure that the alternatives are set correctly on the Data Nodes.

提交回复
热议问题