Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D877617CF4 for ; Tue, 20 Jan 2015 21:02:38 +0000 (UTC) Received: (qmail 86247 invoked by uid 500); 20 Jan 2015 21:02:38 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 86196 invoked by uid 500); 20 Jan 2015 21:02:38 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 86183 invoked by uid 99); 20 Jan 2015 21:02:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2015 21:02:38 +0000 Date: Tue, 20 Jan 2015 21:02:38 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-4173) If the NameNode has already been formatted, but a QuroumJournal has not, auto-format it on startup MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-4173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14284403#comment-14284403 ] Colin Patrick McCabe commented on HDFS-4173: -------------------------------------------- The NameNode no longer auto-formats edit log directories on the local filesystem. So I think we should close this as WONTFIX since the original reason for doing it (consistency with the local edit log directories) no longer applies. > 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)