hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manish Yadav <manish.ya...@orkash.com>
Subject Hadoop configuration
Date Tue, 22 Mar 2011 12:44:29 GMT
hi everybody
  i configured the hadoop in pseuo distrubution mode on my ubuntu . In 
the start it work goog but now i'm facing a strange problem my name node 
doesnot start . when i use the command bin/start-all.sh it shows msg 
starting namenode  but when i tried to close by the command 
bin/stop-all.sh than it shows
localhost: no tasktracker to stop
no namenode to stop

when i check the log file i didn't understand what it  is here is the 
out put of my log file

************************************************************/
2011-03-11 17:53:34,901 INFO 
org.apache.hadoop.hdfs.server.namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG:   host = ws40-man-lin/192.168.0.133
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 0.20.0
STARTUP_MSG:   build = 
https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.20 -r 
763504; compiled by 'ndaley' on Thu Apr  9 05:18:40 UTC 2009
************************************************************/
2011-03-11 17:53:35,545 INFO org.apache.hadoop.ipc.metrics.RpcMetrics: 
Initializing RPC Metrics with hostName=NameNode, port=8020
2011-03-11 17:53:35,557 INFO 
org.apache.hadoop.hdfs.server.namenode.NameNode: Namenode up at: 
localhost/127.0.0.1:8020
2011-03-11 17:53:35,577 INFO org.apache.hadoop.metrics.jvm.JvmMetrics: 
Initializing JVM Metrics with processName=NameNode, sessionId=null
2011-03-11 17:53:35,579 INFO 
org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics: 
Initializing NameNodeMeterics using context 
object:org.apache.hadoop.metrics.spi.NullContext
2011-03-11 17:53:35,748 INFO 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: fsOwner=hadoop,hadoop
2011-03-11 17:53:35,749 INFO 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: supergroup=supergroup
2011-03-11 17:53:35,749 INFO 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: 
isPermissionEnabled=true
2011-03-11 17:53:35,757 INFO 
org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMetrics: 
Initializing FSNamesystemMetrics using context 
object:org.apache.hadoop.metrics.spi.NullContext
2011-03-11 17:53:35,758 INFO 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Registered 
FSNamesystemStatusMBean
2011-03-11 17:53:35,825 INFO 
org.apache.hadoop.hdfs.server.common.Storage: Storage directory 
/tmp/hadoop-hadoop/dfs/name does not exist.
2011-03-11 17:53:35,827 ERROR 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: FSNamesystem 
initialization failed.
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: 
Directory /tmp/hadoop-hadoop/dfs/name 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:302)
     at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:283)
     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:955)
     at 
org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:964)
2011-03-11 17:53:35,829 INFO org.apache.hadoop.ipc.Server: Stopping 
server on 8020
2011-03-11 17:53:35,830 ERROR 
org.apache.hadoop.hdfs.server.namenode.NameNode: 
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: 
Directory /tmp/hadoop-hadoop/dfs/name 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:302)
     at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:283)
     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:955)
     at 
org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:964)

2011-03-11 17:53:35,830 INFO 
org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at ws40-man-lin/192.168.0.133
************************************************************/
please tell me what should i do to run my hadoop correctly?

Mime
View raw message