HADOOP-8315. Support SASL-authenticated ZooKeeper in ActiveStandbyElector. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1528292 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3631361653
commit
1c48b4d04c
|
@ -105,6 +105,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());
|
||||
|
|
|
@ -684,7 +684,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 -->
|
||||
|
@ -708,7 +708,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