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

Switch to Threaded View
Hive >> mail # user >> namenode starting error


Copy link to this message
-
Re: namenode starting error
Add the following properties in your config files and then do a fresh
format.and then restart the processes :

 1- In core-site.xml file :
<property>
         <name>hadoop.tmp.dir</name>
         <value>/home/mohammad/hdfs/temp(some location on your disk)</value>
 </property>

2- In hdfs-site.xml :
<property>
         <name>dfs.name.dir</name>
         <value>/home/mohammad/hdfs/name(some location on your disk)</value>
</property>
<property>
         <name>dfs.data.dir</name>
         <value>/home/mohammad/hdfs/data(some location on your disk)</value>
</property>

It should work.
Regards,
    Mohammad Tariq
On Wed, Jun 20, 2012 at 3:26 PM, soham sardar <[EMAIL PROTECTED]> wrote:
> NO IT DIDNT START EVEN ONCE
> AND YEA I TRIED FORMATTING IT , I DUNNO WETHER IT REALLY GOT FORMATTED .........
>
> 2012-06-19 16:48:36,908 INFO
> org.apache.hadoop.hdfs.server.namenode.NameNode: STARTUP_MSG:
> /************************************************************
> STARTUP_MSG: Starting NameNode
> STARTUP_MSG:   host = XPS-L501X/127.0.1.1
> STARTUP_MSG:   args = []
> STARTUP_MSG:   version = 2.0.0-cdh4.0.0
> STARTUP_MSG:   classpath > /home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/etc/hadoop:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jersey-json-1.8.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/xmlenc-0.52.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jsp-api-2.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/snappy-java-1.0.3.2.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/slf4j-log4j12-1.6.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/kfs-0.3.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jaxb-api-2.2.2.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-logging-api-1.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-digester-1.8.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jettison-1.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-el-1.0.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jackson-core-asl-1.8.8.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/hadoop-auth-2.0.0-cdh4.0.0.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jackson-jaxrs-1.8.8.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-codec-1.4.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/guava-11.0.2.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jasper-compiler-5.5.23.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-lang-2.5.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-configuration-1.6.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/servlet-api-2.5.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/activation-1.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/log4j-1.2.15.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jackson-mapper-asl-1.8.8.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jline-0.9.94.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/avro-1.5.4.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/slf4j-api-1.6.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jasper-runtime-5.5.23.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/oro-2.0.8.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-logging-1.1.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-httpclient-3.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/stax-api-1.0.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/json-simple-1.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jersey-core-1.8.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-math-2.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/paranamer-2.3.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/aspectjrt-1.6.5.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/core-3.1.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/protobuf-java-2.4.0a.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-cli-1.2.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-net-3.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-io-2.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jets3t-0.6.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jersey-server-1.8.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/zookeeper-3.4.3-cdh4.0.0.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/asm-3.2.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jetty-util-6.1.26.cloudera.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jetty-6.1.26.cloudera.1.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jackson-xc-1.8.8.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jsr305-1.3.9.jar:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/share/hadoop/common/lib/jsch-0.1.42.jar:/