[ https://issues.apache.org/jira/browse/HDFS-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856562#action_12856562 ]
Todd Lipcon commented on HDFS-1073: ----------------------------------- Hi Konstantin, Thanks for the question. I'm maintaining the existing fsimage_ckpt_N naming for the upload in progress. So at startup, that file is removed during recovery. The old image fsimage_M where M < N would still exist, so that would be used for recovery. The same's true for checkpoint uploads - if it fails in the middle it wouldn't be renamed yet, so we'd recover from an older fsimage. > Simpler model for Namenode's fs Image and edit Logs > ---------------------------------------------------- > > Key: HDFS-1073 > URL: https://issues.apache.org/jira/browse/HDFS-1073 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Sanjay Radia > Assignee: Todd Lipcon > > The naming and handling of NN's fsImage and edit logs can be significantly > improved resulting simpler and more robust code. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira