Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1623 High Availability Framework for HDFS NN
  3. HDFS-2947

HA: On startup NN throws an NPE in the metrics system

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: HA branch (HDFS-1623)
    • Fix Version/s: HA branch (HDFS-1623)
    • Component/s: ha, namenode
    • Labels:
      None

      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.

        Attachments

        1. HDFS-2947-HDFS-1623.patch
          1 kB
          Aaron Myers

          Activity

            People

            • Assignee:
              atm Aaron Myers
              Reporter:
              atm Aaron Myers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: