hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnson <johnsonchen...@gmail.com>
Subject Secondarynamenode fail to do checkpoint
Date Wed, 15 Feb 2012 01:23:22 GMT
I hava tried to run the secondarynamenode in a separate machine for a
while,and the dfs.checkpoint.period is set to 15 minutes, It works well if I
don't put any data to the HDFS,but if I put data to the HDFS , the
secondaynamenode is down, and throws the following exception

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 some help?


--
View this message in context: http://hadoop-common.472056.n3.nabble.com/Secondarynamenode-fail-to-do-checkpoint-tp3745671p3745671.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message