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

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>

上一篇:Pb协议的接口测试


下一篇:spring之set注入