Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # user >> Not able to start the NodeManager

Copy link to this message
Not able to start the NodeManager

I am trying to setup 0.23 on a cluster and am stuck with errors while
starting the NodeManager. The slaves file is proper and I am able to do a
password-less ssh from the master to the slaves. The ResourceManager also
starts properly.

On running the below command from the master node.

>> bin/yarn-daemons.sh start nodemanager

I get the following error from the yarn script

>> praveen-laptop: No HADOOP_CONF_DIR set.
>> praveen-laptop: Please specify it either in yarn-env.sh or in the

The following is set in .bashrc for all the slaves

>> export HADOOP_DEV_HOME=/home/praveensripati/Installations/hadoop-0.23.0

For some reason the HADOOP_CONF_DIR and other variables are not visible in
the yarn-daemon.sh (could verify if from the echo statements also) which
calls the yarn script.

I am able to run the below command successfully from the terminal, but
the yarn-daemons.sh
(plural) command exits with the above error.

>> ssh praveen-laptop cd
/home/praveensripati/Installations/hadoop-0.23.0/bin/.. ;
--config /home/praveensripati/Installations/hadoop-0.23.0/conf start

I looked at the code and could not figure it out. Did I miss anything or is
there a bug in the code?

Thomas Graves 2012-01-09, 14:45
Praveen Sripati 2012-01-10, 14:35