hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johnson Chengwu <johnsonchen...@gmail.com>
Subject Secondarynamenode fail to docheckpoint
Date Tue, 14 Feb 2012 09:02:01 GMT
Hello,everyone! I hava tried to run secondarynamenode in a separate machine
,it runs well if I dont's put any data to the HDFS,but I got this error
when I put some data into the HDFS,the secondarynamenode is down´╝îthe
following is the secondarynamenode log.

2012-02-10 00:25:46,551 ERROR
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: Throwable
Exception in doCheckpoint:
2012-02-10 00:25:46,551 ERROR
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode:
java.lang.NullPointerException
    at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.addChild(FSDirectory.java:1091)
    at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.addChild(FSDirectory.java:1103)
    at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.addNode(FSDirectory.java:1006)
    at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedAddFile(FSDirectory.java:205)
    at
org.apache.hadoop.hdfs.server.namenode.FSEditLog.loadFSEdits(FSEditLog.java:613)
    at
org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSEdits(FSImage.java:1008)
    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.doMerge(SecondaryNameNode.java:672)
    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.access$500(SecondaryNameNode.java:571)
    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doMerge(SecondaryNameNode.java:448)
    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doCheckpoint(SecondaryNameNode.java:412)
    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doWork(SecondaryNameNode.java:312)
    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.run(SecondaryNameNode.java:275)
    at java.lang.Thread.run(Thread.java:722)

Can anyone give me a help?

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