[ 
https://issues.apache.org/jira/browse/HDFS-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035963#comment-13035963
 ] 

Todd Lipcon commented on HDFS-1505:
-----------------------------------

I'm working on porting this over to the branch for HDFS-1073... quick question 
for you guys:
In the HDFS-1073 design, the edits and the images are no longer coupled -- ie 
there's no coordination between the state of the edits files and of the images. 
Given this, I think the correct check will be to see if there are any IMAGE 
directories at the end of saveNamespace, and not care about EDITS (we're also 
decoupling failure state of the edit log from failure state of the image 
saving). Does that seem to make sense to you? The tests pass for me on that 
branch even with that change.

> saveNamespace appears to succeed even if all directories fail to save
> ---------------------------------------------------------------------
>
>                 Key: HDFS-1505
>                 URL: https://issues.apache.org/jira/browse/HDFS-1505
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.22.0, 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Aaron T. Myers
>            Priority: Blocker
>             Fix For: 0.22.0
>
>         Attachments: hdfs-1505-1-test.txt, hdfs-1505-22.0.patch, 
> hdfs-1505-22.1.patch, hdfs-1505-22.2.patch, hdfs-1505-test.txt, 
> hdfs-1505-trunk.0.patch, hdfs-1505-trunk.1.patch, hdfs-1505-trunk.2.patch, 
> hdfs-1505-trunk.3.patch
>
>
> After HDFS-1071, saveNamespace now appears to "succeed" even if all of the 
> individual directories failed to save.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to