[ https://issues.apache.org/jira/browse/HDFS-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028603#comment-13028603 ]
Hari commented on HDFS-1839: ---------------------------- Is this issue valid for checkpointer also ? Theres two calls to moveLastCheckpoint in Checkpointer too : One during savecheckpoint() and another in convergeJournalSpool .. . This second call to MovelastCheckpoint in convergeJournalSpool ll also remove "previous.checkpoint" rite ?? > SecondaryNameNode should not discard "previous.checkpoint" > ---------------------------------------------------------- > > Key: HDFS-1839 > URL: https://issues.apache.org/jira/browse/HDFS-1839 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.20.1, 0.20.203.0 > Reporter: Konstantin Shvachko > Fix For: 0.22.0 > > > While creating a checkpoint SNN calls {{moveLastCheckpoint()}} twice. As a > result directory "previous.checkpoint" is getting removed. > "previous.checkpoint" directory holds the checkpoint that was created before > the current one. It is useful for manual recovery, but nothing else. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira