You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by yj...@apache.org on 2015/03/09 04:55:36 UTC
hadoop git commit: Revert "HDFS-7857. Improve authentication failure
WARN message to avoid user confusion. Contributed by Yongjun Zhang."
Repository: hadoop
Updated Branches:
refs/heads/trunk d799fbe1c -> 5578e22ce
Revert "HDFS-7857. Improve authentication failure WARN message to avoid user confusion. Contributed by Yongjun Zhang."
This reverts commit d799fbe1ccf8752c44f087e34b5f400591d3b5bd.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5578e22c
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5578e22c
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5578e22c
Branch: refs/heads/trunk
Commit: 5578e22ce9ca6cceb510c22ec307b1869ce1a7c5
Parents: d799fbe
Author: Yongjun Zhang <yz...@cloudera.com>
Authored: Sun Mar 8 20:54:43 2015 -0700
Committer: Yongjun Zhang <yz...@cloudera.com>
Committed: Sun Mar 8 20:54:43 2015 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/ipc/Server.java | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/5578e22c/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
index d2d61b3..893e0eb 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
@@ -1324,15 +1324,10 @@ public abstract class Server {
saslResponse = processSaslMessage(saslMessage);
} catch (IOException e) {
rpcMetrics.incrAuthenticationFailures();
- if (LOG.isDebugEnabled()) {
- LOG.debug(StringUtils.stringifyException(e));
- }
// attempting user could be null
- IOException tce = (IOException) getTrueCause(e);
AUDITLOG.warn(AUTH_FAILED_FOR + this.toString() + ":"
- + attemptingUser + " (" + e.getLocalizedMessage()
- + ") with true cause: (" + tce.getLocalizedMessage() + ")");
- throw tce;
+ + attemptingUser + " (" + e.getLocalizedMessage() + ")");
+ throw (IOException) getTrueCause(e);
}
if (saslServer != null && saslServer.isComplete()) {