HADOOP-8315. Support SASL-authenticated ZooKeeper in ActiveStandbyElector. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1528293 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dd0fb6d75c
commit
c7cd620fa4
|
@ -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
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -685,7 +685,7 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.zookeeper</groupId>
|
||||
<artifactId>zookeeper</artifactId>
|
||||
<version>3.4.2</version>
|
||||
<version>3.4.5</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<!-- otherwise seems to drag in junit 3.8.1 via jline -->
|
||||
|
@ -709,7 +709,7 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.zookeeper</groupId>
|
||||
<artifactId>zookeeper</artifactId>
|
||||
<version>3.4.2</version>
|
||||
<version>3.4.5</version>
|
||||
<type>test-jar</type>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
|
|
Loading…
Reference in New Issue