[
https://issues.apache.org/jira/browse/HDFS-4173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HDFS-4173:
---------------------------------------
Resolution: Won't Fix
Status: Resolved (was: Patch Available)
We currently require a format for both local file and QJM-based edit log
directories, so the behavior is consistent without this change. Closing as
Won't Fix... we can reopen later if we reconsider.
> If the NameNode has already been formatted, but a QuroumJournal has not,
> auto-format it on startup
> --------------------------------------------------------------------------------------------------
>
> Key: HDFS-4173
> URL: https://issues.apache.org/jira/browse/HDFS-4173
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: journal-node, namenode
> Affects Versions: 2.0.3-alpha
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Priority: Minor
> Attachments: HDFS-4173.001.patch
>
>
> If we have multiple edit log directories, and some of them are formatted, but
> others are not, we format the unformatted ones. However, when we implemented
> QuorumJournalManager, we did not extend this behavior to it. It makes sense
> to do this.
> One use case is if you want to add a QuorumJournalManager URI
> ({{journal://}}) to an existing {{NameNode}}, without reformatting
> everything. There is currently no easy way to do this, since {{namenode
> \-format}} will nuke everything, and there's no other way to format the
> {{JournalNodes}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)