[
https://issues.apache.org/jira/browse/HDFS-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated HDFS-5279:
--------------------------------
Attachment: HDFS-5279-branch-2.1.patch
I ended up needing a slightly different patch when I merged down to
branch-2.1-beta. This is because {{generateSnapshotReport}} doesn't exist in
branch-2.1-beta. This was added in HDFS-4096, which targeted 2.3.0. I'm
attaching the branch-2.1-beta patch, just FYI.
> 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)