diff --git a/pom.xml b/pom.xml
index 458b7782d09..22ddeee361c 100755
--- a/pom.xml
+++ b/pom.xml
@@ -331,7 +331,7 @@
1.1.1
2.11
1.1.7
- 1.1.0
+ 2.0.0
1.60
3.2.2
2.6
diff --git a/zookeeper-server/src/main/java/org/apache/zookeeper/client/ZooKeeperSaslClient.java b/zookeeper-server/src/main/java/org/apache/zookeeper/client/ZooKeeperSaslClient.java
index 9021f46f413..b0598bca87f 100644
--- a/zookeeper-server/src/main/java/org/apache/zookeeper/client/ZooKeeperSaslClient.java
+++ b/zookeeper-server/src/main/java/org/apache/zookeeper/client/ZooKeeperSaslClient.java
@@ -335,7 +335,7 @@ public byte[] run() throws SaslException {
error += " Zookeeper Client will go to AUTH_FAILED state.";
LOG.error(error);
saslState = SaslState.FAILED;
- throw new SaslException(error);
+ throw new SaslException(error, e);
}
}
} else {
diff --git a/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/auth/SaslQuorumAuthLearner.java b/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/auth/SaslQuorumAuthLearner.java
index d9e44ff6cc1..12cec788a65 100644
--- a/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/auth/SaslQuorumAuthLearner.java
+++ b/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/auth/SaslQuorumAuthLearner.java
@@ -195,7 +195,7 @@ public byte[] run() throws SaslException {
+ " '-Dsun.net.spi.nameservice.provider.1=dns,sun' to your server's JVMFLAGS environment.";
}
LOG.error(error);
- throw new SaslException(error);
+ throw new SaslException(error, e);
}
}
} else {