[ https://issues.apache.org/jira/browse/HDFS-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856556#action_12856556 ]
Konstantin Shvachko commented on HDFS-1073: ------------------------------------------- A question: I have one NN storage directory, which is image and edits. I have image file fsimage_N in it and edits_N_inprogress. And I also observed on the previous start up that NN failed in the middle of writing file fsimage_N. How do I recover from it? Another similar scenario is when a checkpointer starts to upload the new image to NN but fails in the middle. How do you recognize that the latest image file is incomplete and the previous version should be used instead? > 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