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

Ivan Kelly commented on HDFS-3695:
----------------------------------

New patch looks good, though I think FormatConfirmation would be better if 
called FormatConfirmable. Why didn't you make JournalManager extend 
FormatConfirmation? Surely all implementations of JournalManager will need this 
functionality.

Since this applies cleanly to trunk, will you be submitting there as well as 
the QJM branch?
                
> Genericize format() and initializeSharedEdits() to non-file JournalManagers
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-3695
>                 URL: https://issues.apache.org/jira/browse/HDFS-3695
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node
>    Affects Versions: QuorumJournalManager (HDFS-3077)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-3695.txt, hdfs-3695.txt
>
>
> Currently, the "namenode -format" and "namenode -initializeSharedEdits" 
> commands do not understand how to do anything with non-file-based shared 
> storage. This affects both BookKeeperJournalManager and QuorumJournalManager.
> This JIRA is to plumb through the formatting of edits directories using 
> pluggable journal manager implementations so that no separate step needs to 
> be taken to format them -- the same commands will work for NFS-based storage 
> or one of the alternate implementations.

--
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

        

Reply via email to