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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.1-beta, 3.0.0-alpha1
    • 2.2.0
    • namenode
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: