Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5279

Guard against NullPointerException in NameNode JSP pages before initialization of FSNamesystem.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1-beta, 3.0.0-alpha1
    • Fix Version/s: 2.2.0
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

        1. HDFS-5279.1.patch
          12 kB
          Chris Nauroth
        2. HDFS-5279.2.patch
          13 kB
          Chris Nauroth
        3. HDFS-5279-branch-2.1.patch
          12 kB
          Chris Nauroth

          Issue Links

            Activity

              People

              • Assignee:
                cnauroth Chris Nauroth
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: