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 E0FC211848 for ; Thu, 11 Sep 2014 14:27:34 +0000 (UTC) Received: (qmail 63510 invoked by uid 500); 11 Sep 2014 14:27:34 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 63462 invoked by uid 500); 11 Sep 2014 14:27:34 -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 63448 invoked by uid 99); 11 Sep 2014 14:27:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 14:27:34 +0000 Date: Thu, 11 Sep 2014 14:27:34 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7046) HA NN can NPE upon transition to 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-7046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14130079#comment-14130079 ] Aaron T. Myers commented on HDFS-7046: -------------------------------------- Good find, Daryn. Given that you marked this as affecting 2.5.0, do you have reason to believe that this does not affect earlier versions? > HA NN can NPE upon transition to active > --------------------------------------- > > Key: HDFS-7046 > URL: https://issues.apache.org/jira/browse/HDFS-7046 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 3.0.0, 2.5.0 > Reporter: Daryn Sharp > Priority: Critical > > While processing edits, the NN may decide after adjusting block totals to leave safe mode - in the middle of the edit. Going active starts the secret manager which generates a new secret key, which in turn generates an edit, which NPEs because the edit log is not open. > # Transitions should _not_ occur in the middle of an edit. > # The edit log appears to claim it's open for write when the stream isn't even open -- This message was sent by Atlassian JIRA (v6.3.4#6332)