You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Lohit Vijayarenu (JIRA)" <ji...@apache.org> on 2008/07/10 23:04:31 UTC

[jira] Created: (HADOOP-3745) SecondaryNameNode doCheckpoint() renames current directory before asking NameNode to rollEditLog()

SecondaryNameNode doCheckpoint() renames current directory before asking NameNode to rollEditLog()
--------------------------------------------------------------------------------------------------

                 Key: HADOOP-3745
                 URL: https://issues.apache.org/jira/browse/HADOOP-3745
             Project: Hadoop Core
          Issue Type: Bug
          Components: dfs
    Affects Versions: 0.19.0
            Reporter: Lohit Vijayarenu
            Priority: Minor


In SecondaryNameNode doCheckPoint() function invokes _startCheckpoint()_ before calling _namenode.rollEditLog()_
_startCheckpoint()_ internally invokes _CheckpointStorage::startCheckpoint()_ which renames current to lastcheckpoint.tmp. if call to namenode failed, then we would redo the above step renaming empty current directory in next iteration? Should we remove after we know namenode has successfully rolled edits?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.