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

HA NN can NPE upon transition to active

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.5.0, 3.0.0-alpha1
    • 2.6.0
    • namenode
    • None
    • Reviewed

    Description

      While processing edits, the NN may decide after adjusting block totals to leave safe mode - in the middle of the edit. Going active starts the secret manager which generates a new secret key, which in turn generates an edit, which NPEs because the edit log is not open.

      1. Transitions should not occur in the middle of an edit.
      2. The edit log appears to claim it's open for write when the stream isn't even open

      Attachments

        1. HDFS-7046.patch
          1 kB
          Kihwal Lee
        2. HDFS-7046_test_reproduce.patch
          3 kB
          Kihwal Lee

        Activity

          People

            kihwal Kihwal Lee
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: