Wednesday, March 2, 2016

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


Solving Name Node Hadoop problem:

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

Online meal chaos to find, try a variety of methods while chaos, do not solve the problem. Then, suddenly thought, the problem may be the right start to the day
yesterday to start doing some of the changes between the error caused,the solution is add environment variables.

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


Then, Hadoop can properly started.

No comments:

Post a Comment