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

Switch to Threaded View
Hadoop, mail # user - namespace error after formatting namenode (psuedo distr mode).


Copy link to this message
-
namespace error after formatting namenode (psuedo distr mode).
Jay Vyas 2012-03-30, 21:33
Hi guys !

This is very strange - I have formatted my namenode (psuedo distributed
mode) and now Im getting some kind of namespace error.

Without further ado : here is the interesting output of my logs .
Last login: Fri Mar 30 19:29:12 on ttys009
doolittle-5:~ Jpeerindex$
doolittle-5:~ Jpeerindex$
doolittle-5:~ Jpeerindex$ cat Development/hadoop-0.20.203.0/logs/*
2012-03-30 22:28:31,640 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting DataNode
STARTUP_MSG:   host = doolittle-5.local/192.168.3.78
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 0.20.203.0
STARTUP_MSG:   build http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-203-r
1099333; compiled by 'oom' on Wed May  4 07:57:50 PDT 2011
************************************************************/
2012-03-30 22:28:32,138 INFO org.apache.hadoop.metrics2.impl.MetricsConfig:
loaded properties from hadoop-metrics2.properties
2012-03-30 22:28:32,190 INFO
org.apache.hadoop.metrics2.impl.MetricsSourceAdapter: MBean for source
MetricsSystem,sub=Stats registered.
2012-03-30 22:28:32,191 INFO
org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Scheduled snapshot
period at 10 second(s).
2012-03-30 22:28:32,191 INFO
org.apache.hadoop.metrics2.impl.MetricsSystemImpl: DataNode metrics system
started
2012-03-30 22:28:32,923 INFO
org.apache.hadoop.metrics2.impl.MetricsSourceAdapter: MBean for source ugi
registered.
2012-03-30 22:28:32,959 WARN
org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Source name ugi already
exists!
2012-03-30 22:28:34,478 INFO org.apache.hadoop.ipc.Client: Retrying connect
to server: localhost/127.0.0.1:9000. Already tried 0 time(s).
2012-03-30 22:28:36,317 ERROR
org.apache.hadoop.hdfs.server.datanode.DataNode: java.io.IOException:
Incompatible namespaceIDs in /private/tmp/hadoop-Jpeerindex/dfs/data:
namenode namespaceID = 1829914379; datanode namespaceID = 1725952472
    at
org.apache.hadoop.hdfs.server.datanode.DataStorage.doTransition(DataStorage.java:232)
    at
org.apache.hadoop.hdfs.server.datanode.DataStorage.recoverTransitionRead(DataStorage.java:147)
    at
org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:354)
    at
org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:268)
    at
org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1480)
    at
org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1419)
    at
org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1437)
    at
org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:1563)
    at
org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1573)