hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Friso van Vollenhoven <fvanvollenho...@xebia.com>
Subject Re: Error for start hadoop namenode
Date Mon, 03 Jan 2011 09:22:40 GMT
Hi Singo,

Did the NN shut down cleanly before you started it again? Are you running a secondary NN?
What Hadoop version?

We had the problem of our NN data being corrupt, probably as a result of accidentally running
2 secondary NNs at the same time (we were able to reproduce it that way). But your stack trace
looks a bit different from what we had.

You could have a look at this thread: http://mail-archives.apache.org/mod_mbox/hadoop-hdfs-user/201010.mbox/%3C83E09645-A671-4DCE-89A6-D0E1952190A9@mlogiciels.com%3E<http://mail-archives.apache.org/mod_mbox/hadoop-hdfs-user/201010.mbox/<83E09645-A671-4DCE-89A6-D0E1952190A9@mlogiciels.com>>.
It has some hints on how you could possibly repair a corrupt image.


Friso

P.S.
You should probably take this to the hdfs user list, instead of HBase.



On 1 jan 2011, at 05:05, SingoWong wrote:

Hi,

When i start hadoop namenode, got ont error message below:

2011-01-01 11:58:20,763 ERROR
org.apache.hadoop.hdfs.server.namenode.NameNode:
java.lang.NullPointerException
       at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedSetTimes(FSDirectory.java:1320)
       at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedSetTimes(FSDirectory.java:1309)
       at
org.apache.hadoop.hdfs.server.namenode.FSEditLog.loadFSEdits(FSEditLog.java:776)
       at
org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSEdits(FSImage.java:992)
       at
org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:812)
       at
org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:364)
       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)

and the namenode not start, what happen for that no change any thing in
server.

Happy New Year & Regards,
Singo


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message