diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index e47d175063e..836a86dc54b 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -393,6 +393,9 @@ Release 2.2.0 - UNRELEASED BUG FIXES + HADOOP-8315. Support SASL-authenticated ZooKeeper in ActiveStandbyElector + (todd) + Release 2.1.2 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java index 4682bc70261..a5c1467f4fb 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java @@ -568,6 +568,9 @@ public class ActiveStandbyElector implements StatCallback, StringCallback { enterNeutralMode(); reJoinElection(0); break; + case SaslAuthenticated: + LOG.info("Successfully authenticated to ZooKeeper using SASL."); + break; default: fatalError("Unexpected Zookeeper watch event state: " + event.getState()); diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index d5b3d8027cd..c8e62af2a76 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -685,7 +685,7 @@ org.apache.zookeeper zookeeper - 3.4.2 + 3.4.5 @@ -709,7 +709,7 @@ org.apache.zookeeper zookeeper - 3.4.2 + 3.4.5 test-jar test