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 EA4F1D27E for ; Wed, 25 Jul 2012 21:48:36 +0000 (UTC) Received: (qmail 34391 invoked by uid 500); 25 Jul 2012 21:48:36 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 34336 invoked by uid 500); 25 Jul 2012 21:48:36 -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 34140 invoked by uid 99); 25 Jul 2012 21:48:36 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 21:48:36 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 8760A142855 for ; Wed, 25 Jul 2012 21:48:35 +0000 (UTC) Date: Wed, 25 Jul 2012 21:48:35 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1203388250.103272.1343252915557.JavaMail.jiratomcat@issues-vm> In-Reply-To: <71430782.79830.1342745434957.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (HDFS-3693) QJM: JNStorage should read its storage info even before a writer becomes active 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-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon resolved HDFS-3693. ------------------------------- Resolution: Fixed Fix Version/s: QuorumJournalManager (HDFS-3077) Hadoop Flags: Reviewed Committed to branch, with nit addressed in the commit. Thanks for reviewing. > QJM: JNStorage should read its storage info even before a writer becomes active > ------------------------------------------------------------------------------- > > Key: HDFS-3693 > URL: https://issues.apache.org/jira/browse/HDFS-3693 > Project: Hadoop HDFS > Issue Type: Sub-task > Affects Versions: QuorumJournalManager (HDFS-3077) > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Priority: Minor > Fix For: QuorumJournalManager (HDFS-3077) > > Attachments: hdfs-3693.txt > > > In order for QJM to work with HA, the standby needs to be able to read from a JournalNode even when no active has written to it. In the current code, it reads the StorageInfo only when {{newEpoch()}} is called. But, that's only called when a writer becomes active. This causes the SBN to fail at startup since the JN thinks its storage info is uninitialized. -- 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