编程语言
首页 > 编程语言> > Hadoop格式化两次:Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenod

Hadoop格式化两次:Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenod

作者:互联网

具体解决办法:

 1、进入到hadoop的根目录下。

2、在etc/hadoop/core-site.xml中增加如下配置:

<configuration>

        <property>

                <name>fs.default.name</name>

                <value>hdfs://master:9000</value>

        </property>

        <property>

                <name>hadoop.tmp.dir</name>

                <value>/root/hadoopdata</value>

        </property>

</configuration>

标签:Incorrect,address,hadoop,dfs,namenode,根目录
来源: https://blog.csdn.net/weixin_42698464/article/details/121878245