hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Foley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1505) saveNamespace appears to succeed even if all directories fail to save
Date Thu, 12 May 2011 21:27:47 GMT

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

Matt Foley commented on HDFS-1505:
----------------------------------

Hi Aaron, agree with you that storage directories of type IMAGE_AND_EDITS are a distinct NameNodeDirType.
 However, my understanding of NNStorage.getNumStorageDirs(NameNodeDirType), and NameNodeDirType.isOfType()
is that membership queries (iterators or counts) about storage dirs of type EDITS return answers
relating to all storage dirs of type EDITS || IMAGE_AND_EDITS, while queries about storage
dirs of type IMAGE return answers relating to all storage dirs of type IMAGE || IMAGE_AND_EDITS.
 That is, isOfType() is permissive rather than exclusive.

I could be wrong of course :-) as it's possible I didn't correctly follow overloaded implementations.
Please let me know if so.  Thanks.


> 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-22.0.patch, hdfs-1505-22.1.patch, hdfs-1505-test.txt,
hdfs-1505-trunk.0.patch, hdfs-1505-trunk.1.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

Mime
View raw message