[ https://issues.apache.org/jira/browse/HDFS-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996820#comment-12996820 ]
Hadoop QA commented on HDFS-957: -------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12435248/hdfs-957.txt against trunk revision 1072023. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. -1 patch. The patch command could not apply the patch. Console output: https://hudson.apache.org/hudson/job/PreCommit-HDFS-Build/198//console This message is automatically generated. > FSImage layout version should be only once file is complete > ----------------------------------------------------------- > > Key: HDFS-957 > URL: https://issues.apache.org/jira/browse/HDFS-957 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Affects Versions: 0.22.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Attachments: hdfs-957.txt > > > Right now, the FSImage save code writes the LAYOUT_VERSION at the head of the > file, along with some other headers, and then dumps the directory into the > file. Instead, it should write a special IMAGE_IN_PROGRESS entry for the > layout version, dump all of the data, then seek back to the head of the file > to write the proper LAYOUT_VERSION. This would make it very easy to detect > the case where the FSImage save got interrupted. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira