Hadoop Common
  1. Hadoop Common
  2. HADOOP-8212

Improve ActiveStandbyElector's behavior when session expires

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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.

      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

          Gavin made changes -
          Link This issue is depended upon by HADOOP-8206 [ HADOOP-8206 ]
          Gavin made changes -
          Link This issue blocks HADOOP-8206 [ HADOOP-8206 ]
          Todd Lipcon made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Target Version/s 0.24.0, 0.23.3, Auto Failover (HDFS-3042) [ 12317652, 12320059, 12320350 ] Auto Failover (HDFS-3042) [ 12320350 ]
          Fix Version/s Auto Failover (HDFS-3042) [ 12320350 ]
          Fix Version/s 2.0.0 [ 12320352 ]
          Resolution Fixed [ 1 ]
          Todd Lipcon made changes -
          Attachment hadoop-8212-delta-bikas.txt [ 12520325 ]
          Todd Lipcon made changes -
          Target Version/s 0.24.0, 0.23.3 [ 12317652, 12320059 ] Auto Failover (HDFS-3042), 0.23.3, 0.24.0 [ 12320350, 12320059, 12317652 ]
          Todd Lipcon made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Arun C Murthy made changes -
          Fix Version/s 2.0.0 [ 12320352 ]
          Fix Version/s 0.24.0 [ 12317652 ]
          Fix Version/s 0.23.3 [ 12320059 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Target Version/s 0.24.0, 0.23.3 [ 12317652, 12320059 ] 0.23.3, 0.24.0 [ 12320059, 12317652 ]
          Fix Version/s 0.23.3 [ 12320059 ]
          Fix Version/s 0.24.0 [ 12317652 ]
          Resolution Fixed [ 1 ]
          Todd Lipcon made changes -
          Attachment hadoop-8212.txt [ 12519915 ]
          Todd Lipcon made changes -
          Link This issue is part of HDFS-3042 [ HDFS-3042 ]
          Todd Lipcon made changes -
          Link This issue blocks HADOOP-8206 [ HADOOP-8206 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 0.24.0, 0.23.3 [ 12317652, 12320059 ] 0.23.3, 0.24.0 [ 12320059, 12317652 ]
          Todd Lipcon made changes -
          Attachment hadoop-8212.txt [ 12519904 ]
          Todd Lipcon made changes -
          Field Original Value New Value
          Project Hadoop HDFS [ 12310942 ] Hadoop Common [ 12310240 ]
          Key HDFS-3151 HADOOP-8212
          Affects Version/s 0.23.3 [ 12320059 ]
          Affects Version/s 0.24.0 [ 12317652 ]
          Affects Version/s 0.24.0 [ 12317653 ]
          Affects Version/s 0.23.3 [ 12320052 ]
          Target Version/s 0.23.3, 0.24.0 [ 12320052, 12317653 ] 0.23.3, 0.24.0 [ 12320059, 12317652 ]
          Todd Lipcon created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development