Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
HA branch (HDFS-1623)
-
None
-
Reviewed
Description
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.