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

HA: NN throws NPE during shutdown if it fails to startup

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • HA branch (HDFS-1623)
    • HA branch (HDFS-1623)
    • ha, namenode
    • None

    Description

      Last night's nightly build had a bunch of NPEs thrown in NameNode.stop. Not sure which patch introduced the issue, but the problem is that NameNode.stop() is called if an exception is thrown during startup. If the exception is thrown before the namesystem is created, then NameNode.namesystem is null, and namesystem.stop throws NPE.

      Attachments

        1. hdfs-2948.txt
          0.9 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: