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

ObserverReadProxyProvider is unable to properly fetch HAState from Standby NNs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • ha, nn
    • None
    • Reviewed

    Description

      We have been seeing issues during testing of the Consistent Read from Standby feature that indicate that ORPP is unable to call getHAServiceState on Standby NNs, as they are rejected with a StandbyException. Upon further investigation, we realized that although the Standby allows the getHAServiceState() call, reading a delegation token is not allowed in Standby state, thus the call will fail when using DT-based authentication. This hasn't caused issues in practice, since ORPP assumes that the state is Standby if it is unable to fetch the state, but we should fix the logic to properly handle this scenario.

      Attachments

        1. HDFS-14435.005.patch
          10 kB
          Erik Krogen
        2. HDFS-14435.004.patch
          10 kB
          Erik Krogen
        3. HDFS-14435.003.patch
          10 kB
          Erik Krogen
        4. dt_stack_trace.png
          109 kB
          Erik Krogen
        5. HDFS-14435.002.patch
          9 kB
          Erik Krogen
        6. HDFS-14435.001.patch
          9 kB
          Erik Krogen
        7. HDFS-14435.000.patch
          9 kB
          Erik Krogen

        Issue Links

          Activity

            People

              xkrogen Erik Krogen
              xkrogen Erik Krogen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: