hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3793) Implement genericized format() in QJM
Date Tue, 14 Aug 2012 21:50:38 GMT

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

Aaron T. Myers commented on HDFS-3793:
--------------------------------------

Patch looks pretty good to me. Two small comments:

# Seems like you should make the QuorumJournalManager#format and QuroumJournalManager#hasSomeData
timeouts configurable, or at least use constants and add a comment or two justifying how you
chose those values.
# I think I see the reasoning behind the need for the call to unlockAll in JNStorage#format,
but you might want to add a comment explaining why it's necessary. Also, if this happens,
when will the storage be locked again? Might want to add a comment explaining that as well.

+1 once these are addressed.
                
> Implement genericized format() in QJM
> -------------------------------------
>
>                 Key: HDFS-3793
>                 URL: https://issues.apache.org/jira/browse/HDFS-3793
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha
>    Affects Versions: QuorumJournalManager (HDFS-3077)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-3793.txt
>
>
> HDFS-3695 added the ability for non-File journal managers to tie into calls like NameNode
-format. This JIRA is to implement format() for QuorumJournalManager.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message