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

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

    I too was facing the same issue and finally found that there was a space in fs.default.name value. truncating the space fixed the issue. The above core-site.xml doesn't seem to have space so the issue may be different from what i had. my 2 cents

    0 讨论(0)
  • 2020-12-16 01:35

    in my case, I have wrongly set HADOOP_CONF_DIR to an other Hadoop installation.

    Add to hadoop-env.sh:

    export HADOOP_CONF_DIR=/usr/local/hadoop/etc/hadoop/
    
    0 讨论(0)
  • 2020-12-16 01:38

    check the core-site.xml under $HADOOP_INSTALL/etc/hadoop dir. Verify that the property fs.default.name is configured correctly

    0 讨论(0)
  • 2020-12-16 01:38

    Configuring the full host name in core-site.xml, masters and slaves solved the issue for me.

    Old: node1 (failed)

    New: node1.krish.com (Succeed)

    0 讨论(0)
  • 2020-12-16 01:39

    Add the below line in hadoop-env.cmd

    set HADOOP_HOME_WARN_SUPPRESS=1
    
    0 讨论(0)
  • 2020-12-16 01:44

    Check your '/etc/hosts' file:
    There must be a line like below: (if not, so add that)
    namenode 127.0.0.1
    Replace 127.0.01 with your namenode IP.

    0 讨论(0)
提交回复
热议问题