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 Plain View
Hadoop >> mail # user >> hadoop v0.23.9, namenode -format command results in Could not find or load main class org.apache.hadoop.hdfs.server.namenode.NameNode


Copy link to this message
-
hadoop v0.23.9, namenode -format command results in Could not find or load main class org.apache.hadoop.hdfs.server.namenode.NameNode
hi,

i have downloaded and untarred hadoop v0.23.9. i am trying to set up a
single node instance to learn this version of hadop. also, i am following
as best as i can, the instructions at
http://hadoop.apache.org/docs/r0.23.9/hadoop-project-dist/hadoop-common/SingleCluster.html
.

when i attempt to run ${HADOOP_HOME}/bin/hdfs namenode -format, i get the
following error.

Error: Could not find or load main class
org.apache.hadoop.hdfs.server.namenode.NameNode

the instructions in the link above are complete. they jump right in and
say, "assuming you have installed hadoop-common/hadoop-hdfs..." what does
this assumption even mean? how do we install hadoop-common and hadoop-hdfs?

right now, i am running on CentOS 6.4 x64 minimal. my steps are the
following.

0. installed jdk 1.7 (Oracle)
1. tar xfz hadoop-0.23.9.tar.gz
2. mv hadoop-0.23.9 /opt
3. ln -s /opt/hadoop-0.23.9 /opt/hadoop
4. export HADOOP_HOME=/opt/hadoop
5. export JAVA_HOME=/opt/java
6. export PATH=${JAVA_HOME}/bin:${HADOOP_HOME}/bin:${PATH}

any help is appreciated.
+
Harsh J 2013-08-11, 07:21
+
Jane Wayne 2013-08-12, 14:31
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