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.

Reply via email to