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

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • HA branch (HDFS-1623)
    • HA branch (HDFS-1623)
    • ha, namenode
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: