Support Questions
Find answers, ask questions, and share your expertise

secondary name node exists with checkpointing error

secondary name node exists with checkpointing error

Expert Contributor

how do I fix this error?

Exception in doCheckpoint

java.io.IOException: java.lang.IllegalStateException: Cannot skip to less than the current value (=67617893), where newValue=67617892
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.resetLastInodeId(FSNamesystem.java:657)
	at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadEditRecords(FSEditLogLoader.java:280)
	at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadFSEdits(FSEditLogLoader.java:140)
	at org.apache.hadoop.hdfs.server.namenode.FSImage.loadEdits(FSImage.java:848)
	at org.apache.hadoop.hdfs.server.namenode.FSImage.loadEdits(FSImage.java:829)
	at org.apache.hadoop.hdfs.server.namenode.Checkpointer.rollForwardByApplyingLogs(Checkpointer.java:311)
	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doMerge(SecondaryNameNode.java:1093)
	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doCheckpoint(SecondaryNameNode.java:553)
	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doWork(SecondaryNameNode.java:360)
	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$1.run(SecondaryNameNode.java:325)
	at org.apache.hadoop.security.SecurityUtil.doAsLoginUserOrFatal(SecurityUtil.java:444)
	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.run(SecondaryNameNode.java:321)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Cannot skip to less than the current value (=67617893), where newValue=67617892
	at org.apache.hadoop.util.SequentialNumber.skipTo(SequentialNumber.java:58)
	at