Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # dev >> ResourceManager not getting started in 0.23


Copy link to this message
-
ResourceManager not getting started in 0.23
Hi,

I am making some change to the 0.23 branch and got the latest code and
successfully build it. Am able to start the NameNode and the DataNode, but
when I start the ResourceManager I am getting 'ClassNotFoundException'. The
classpath to run the ResourceManager is not getting generated properly by
the 'sbin/yarn-daemon.sh' command. I also noticed that the modules folder
is not getting created when the hadoop-0.23.1-SNAPSHOT.tar.gz is untarred.

Is this a bug or I missed something?

---------------------

sbin/yarn-daemon.sh start resourcemanager

-classpath
/home/praveensripati/Hadoop/0.23/deploy/hadoop-0.23.1-SNAPSHOT/conf/:/home/praveensripati/Hadoop/0.23/deploy/hadoop-0.23.1-SNAPSHOT/conf/:/home/praveensripati/Hadoop/0.23/deploy/hadoop-0.23.1-SNAPSHOT/conf/:/usr/lib/jvm/jdk1.6.0_27/lib/tools.jar:/usr/lib/jvm/jdk1.6.0_27/lib/tools.jar:/home/praveensripati/Hadoop/0.23/deploy/hadoop-0.23.1-SNAPSHOT/conf//rm-config/log4j.properties

Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.yarn.server.resourcemanager.ResourceManager
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)

---------------------

BTW, I am able to run the example Hadoop after downloading
hadoop-0.23.0.tar.gz from Apache.

I have the following settings in .bashrc

export
HADOOP_DEV_HOME=/home/praveensripati/Hadoop/0.23/deploy/hadoop-0.23.1-SNAPSHOT
export HADOOP_MAPRED_HOME=$HADOOP_DEV_HOME
export HADOOP_COMMON_HOME=$HADOOP_DEV_HOME
export HADOOP_HDFS_HOME=$HADOOP_DEV_HOME
export YARN_HOME=$HADOOP_DEV_HOME
export HADOOP_CONF_DIR=$HADOOP_DEV_HOME/conf/
export YARN_CONF_DIR=~$HADOOP_DEV_HOME/conf/

Regards,
Praveen
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB