Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8212

Improve ActiveStandbyElector's behavior when session expires

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.3, 0.24.0
    • Fix Version/s: Auto Failover (HDFS-3042)
    • Component/s: None
    • Labels:
      None

      Description

      Currently when the ZK session expires, it results in a fatal error being sent to the application callback. This is not the best behavior – for example, in the case of HA, if ZK goes down, we would like the current state to be maintained, rather than causing either NN to abort. When the ZK clients are able to reconnect, they should sort out the correct leader based on the normal locking schemes.

        Attachments

        1. hadoop-8212-delta-bikas.txt
          4 kB
          Todd Lipcon
        2. hadoop-8212.txt
          42 kB
          Todd Lipcon
        3. hadoop-8212.txt
          42 kB
          Todd Lipcon

          Issue Links

            Activity

              People

              • Assignee:
                tlipcon Todd Lipcon
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: