Hadoop Common
  1. Hadoop Common
  2. HADOOP-8315

Support SASL-authenticated ZooKeeper in ActiveStandbyElector

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Auto Failover (HDFS-3042)
    • Fix Version/s: 3.0.0, 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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development