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

Todd Lipcon commented on HDFS-3695:
-----------------------------------

I'm initially targeting the QJM branch here, but this is generally useful for 
other journal managers as well (eg the BKJM implementation may want to create 
some entries in ZooKeeper, or remove a previous journal when reformatting a 
namenode).
                
> 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
>
> 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