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

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

    These steps solved the problem for me:

    • export HADOOP_CONF_DIR = $HADOOP_HOME/etc/hadoop
    • echo $HADOOP_CONF_DIR
    • hdfs namenode -format
    • hdfs getconf -namenodes
    • ./start-dfs.sh

提交回复
热议问题