Hadoop Common
  1. Hadoop Common
  2. HADOOP-8315

Support SASL-authenticated ZooKeeper in ActiveStandbyElector

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Auto Failover (HDFS-3042)
    • Fix Version/s: 2.2.0
    • Component/s: auto-failover, ha
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently, if you try to use SASL-authenticated ZK with the ActiveStandbyElector, you run into a couple issues:
      1) We hit ZOOKEEPER-1437 - we need to wait until we see SaslAuthenticated before we can make any requests
      2) We currently throw a fatalError when we see the SaslAuthenticated callback on the connection watcher

      We need to wait for ZK-1437 upstream, and then upgrade to the fixed version for #1. For #2 we just need to add a case there and ignore it.

      1. hadoop-8315.txt
        3 kB
        Todd Lipcon
      2. hadoop-8315_v2.txt
        2 kB
        Robert Parker

        Issue Links

          Activity

          Todd Lipcon created issue -
          Eugene Koontz made changes -
          Field Original Value New Value
          Link This issue relates to ZOOKEEPER-1437 [ ZOOKEEPER-1437 ]
          Eugene Koontz made changes -
          Link This issue is related to ZOOKEEPER-1455 [ ZOOKEEPER-1455 ]
          Todd Lipcon made changes -
          Attachment hadoop-8315.txt [ 12577300 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Assignee Todd Lipcon [ tlipcon ]
          Todd Lipcon made changes -
          Link This issue is blocked by ZOOKEEPER-1686 [ ZOOKEEPER-1686 ]
          Todd Lipcon made changes -
          Link This issue is duplicated by HADOOP-9498 [ HADOOP-9498 ]
          Robert Parker made changes -
          Attachment hadoop-8315_v2.txt [ 12600266 ]
          Kai Zheng made changes -
          Link This issue is required by HDFS-5152 [ HDFS-5152 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 3.0.0 [ 12320357 ]
          Fix Version/s 2.3.0 [ 12324587 ]
          Resolution Fixed [ 1 ]
          Andrew Wang made changes -
          Fix Version/s 2.1.2-beta [ 12325048 ]
          Fix Version/s 2.3.0 [ 12324587 ]
          Allen Wittenauer made changes -
          Fix Version/s 3.0.0 [ 12320357 ]
          Vinod Kumar Vavilapalli made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development