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 E2D8E1030F for ; Wed, 2 Oct 2013 05:55:48 +0000 (UTC) Received: (qmail 80130 invoked by uid 500); 2 Oct 2013 05:55:35 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 79978 invoked by uid 500); 2 Oct 2013 05:55:28 -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 79933 invoked by uid 99); 2 Oct 2013 05:55:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 05:55:25 +0000 Date: Wed, 2 Oct 2013 05:55:25 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-5279) Guard against NullPointerException in NameNode JSP pages before initialization of FSNamesystem. 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-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated HDFS-5279: -------------------------------- Resolution: Fixed Fix Version/s: 2.1.2-beta 3.0.0 Target Version/s: 2.1.1-beta, 3.0.0 (was: 3.0.0, 2.1.1-beta) Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) I have committed this to trunk, branch-2, and branch-2.1-beta. Suresh, thank you for the code review. > Guard against NullPointerException in NameNode JSP pages before initialization of FSNamesystem. > ----------------------------------------------------------------------------------------------- > > Key: HDFS-5279 > URL: https://issues.apache.org/jira/browse/HDFS-5279 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 3.0.0, 2.1.1-beta > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Fix For: 3.0.0, 2.1.2-beta > > Attachments: HDFS-5279.1.patch, HDFS-5279.2.patch, HDFS-5279-branch-2.1.patch > > > HDFS-4372 added tracking of NameNode startup progress. As part of that change, the NameNode HTTP server now starts before initialization of the {{FSNamesystem}}. There are a few code paths remaining in the JSP pages that are at risk of causing {{NullPointerException}} if accessed when the {{FSNamesystem}} has not been fully initialized. -- This message was sent by Atlassian JIRA (v6.1#6144)