error in namenode starting

Tejas picture Tejas · Jan 11, 2013 · Viewed 22.8k times · Source

When i try to start the hadoop on master node i am getting the following output.and the namenode is not starting.

[hduser@dellnode1 ~]$ start-dfs.sh
starting namenode, logging to /usr/local/hadoop/bin/../logs/hadoop-hduser-namenode-dellnode1.library.out
dellnode1.library: datanode running as process 5123. Stop it first.
dellnode3.library: datanode running as process 4072. Stop it first.
dellnode2.library: datanode running as process 4670. Stop it first.
dellnode1.library: secondarynamenode running as process 5234. Stop it first.
[hduser@dellnode1 ~]$ jps
5696 Jps
5123 DataNode
5234 SecondaryNameNode

Answer

pablo pidal picture pablo pidal · Aug 17, 2013

"Stop it first".

  • First call stop-all.sh

  • Type jps

  • Call start-all.sh (or start-dfs.sh and start-mapred.sh)

  • Type jps (if namenode don't appear type "hadoop namenode" and check error)