[
https://issues.apache.org/jira/browse/HDFS-2947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207684#comment-13207684
]
Hudson commented on HDFS-2947:
------------------------------
Integrated in Hadoop-Hdfs-HAbranch-build #77 (See
[https://builds.apache.org/job/Hadoop-Hdfs-HAbranch-build/77/])
HDFS-2947. On startup NN throws an NPE in the metrics system. Contributed
by Aaron T. Myers. (Revision 1243826)
Result = FAILURE
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1243826
Files :
*
/hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-1623.txt
*
/hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
> HA: On startup NN throws an NPE in the metrics system
> -----------------------------------------------------
>
> Key: HDFS-2947
> URL: https://issues.apache.org/jira/browse/HDFS-2947
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, name-node
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Aaron T. Myers
> Assignee: Aaron T. Myers
> Priority: Minor
> Fix For: HA branch (HDFS-1623)
>
> Attachments: HDFS-2947-HDFS-1623.patch
>
>
> HDFS-2510 added some HA-specific metrics which check the NN's HAState. The NN
> initializes its HAState *after* the metrics are initialized, and thus we
> might hit an NPE during NN startup. This seems to be innocuous in that the
> NN's metrics still function, but it's poor form to log an unnecessary NPE.
--
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