hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Khaled Ben Bahri <khaled-...@hotmail.com>
Subject RE: namenode don't start
Date Thu, 24 Feb 2011 22:01:29 GMT

hi

thank you very much for your help :)

best regards

Date: Thu, 24 Feb 2011 11:08:10 -0800
Subject: Re: namenode don't start
From: iphulari@gmail.com
To: hdfs-user@hadoop.apache.org
CC: khaled-bbk@hotmail.com


You forgot to format HDFS file system before starting name node. Following line in your error
log explains this -


11/02/24 10:43:48 INFO common.Storage: Storage directory /usr/local/hadoop-0.20.2/namespace
does not exist.
 Please format HDFS using following command :
$HADOOP_HOME/bin/hadoop namenode -format



On Thu, Feb 24, 2011 at 10:53 AM, Khaled Ben Bahri <khaled-bbk@hotmail.com> wrote:






hello to all

i'm new user of hadoop hdfs
i configure it like indicated in site on 2 virtual machines
when i want to start it, datanode start but the namenode fail to start with the secondary
namenode


i have this error message
i don't know if the problem is of the network because the ip adress of master is different
of what is shown in the third line




11/02/24 10:43:47 INFO namenode.NameNode: STARTUP_MSG: 

/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG:   host = ubuntu/127.0.1.1
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 0.20.2

STARTUP_MSG:   build = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20
-r 911707; compiled by 'chrisdo' on Fri Feb 19 08:07:34 UTC 2010

************************************************************/
11/02/24 10:43:48 INFO metrics.RpcMetrics: Initializing RPC Metrics with hostName=NameNode,
port=8020
11/02/24 10:43:48 INFO namenode.NameNode: Namenode up at: ubuntu.local/157.159.103.83:8020

11/02/24 10:43:48 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=NameNode,
sessionId=null
11/02/24 10:43:48 INFO metrics.NameNodeMetrics: Initializing NameNodeMeterics using context
object:org.apache.hadoop.metrics.spi.NullContext

11/02/24 10:43:48 INFO namenode.FSNamesystem: fsOwner=vadmin,vadmin,adm,dialout,cdrom,plugdev,lpadmin,sambashare,admin
11/02/24 10:43:48 INFO namenode.FSNamesystem: supergroup=supergroup
11/02/24 10:43:48 INFO namenode.FSNamesystem: isPermissionEnabled=true

11/02/24 10:43:48 INFO metrics.FSNamesystemMetrics: Initializing FSNamesystemMetrics using
context object:org.apache.hadoop.metrics.spi.NullContext
11/02/24 10:43:48 INFO namenode.FSNamesystem: Registered FSNamesystemStatusMBean

11/02/24 10:43:48 INFO common.Storage: Storage directory /usr/local/hadoop-0.20.2/namespace
does not exist.
11/02/24 10:43:48 ERROR namenode.FSNamesystem: FSNamesystem initialization failed.
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /usr/local/hadoop-0.20.2/namespace
is in an inconsistent state: storage directory does not exist or is not accessible.

        at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:290)
        at org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:87)
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:311)

        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:292)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:201)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:279)

        at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965)
11/02/24 10:43:48 INFO ipc.Server: Stopping server on 8020

11/02/24 10:43:48 ERROR namenode.NameNode: org.apache.hadoop.hdfs.server.common.InconsistentFSStateException:
Directory /usr/local/hadoop-0.20.2/namespace is in an inconsistent state: storage directory
does not exist or is not accessible.

        at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:290)
        at org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:87)
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:311)

        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:292)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:201)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:279)

        at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965)

11/02/24 10:43:48 INFO namenode.NameNode: SHUTDOWN_MSG: 

/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at ubuntu/127.0.1.1
************************************************************/



thanks for your help
best regards
khaled

 		 	   		  

 		 	   		  
Mime
View raw message