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 cn...@apache.org on 2014/11/13 06:57:26 UTC

hadoop git commit: HADOOP-11291. Log the cause of SASL connection failures. Contributed by Stephen Chu.

Repository: hadoop
Updated Branches:
  refs/heads/branch-2 69a7780ee -> 9c94945fe


HADOOP-11291. Log the cause of SASL connection failures. Contributed by Stephen Chu.

(cherry picked from commit 7dae5b5a880205fd0125c143c44498db79c19392)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/9c94945f
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/9c94945f
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/9c94945f

Branch: refs/heads/branch-2
Commit: 9c94945fe9362f74d406841edf5583c0b98f5cb5
Parents: 69a7780
Author: cnauroth <cn...@apache.org>
Authored: Wed Nov 12 21:54:06 2014 -0800
Committer: cnauroth <cn...@apache.org>
Committed: Wed Nov 12 21:54:40 2014 -0800

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt                   | 3 +++
 .../hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/9c94945f/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 1791ffb..412ed91 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -31,6 +31,9 @@ Release 2.7.0 - UNRELEASED
 
     HADOOP-10786. Fix UGI#reloginFromKeytab on Java 8. (Stephen Chu via wheat9)
 
+    HADOOP-11291. Log the cause of SASL connection failures.
+    (Stephen Chu via cnauroth)
+
   OPTIMIZATIONS
 
   BUG FIXES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/9c94945f/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
index 96da01c..d9385fb 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
@@ -668,7 +668,7 @@ public class Client {
               String msg = "Couldn't setup connection for "
                   + UserGroupInformation.getLoginUser().getUserName() + " to "
                   + remoteId;
-              LOG.warn(msg);
+              LOG.warn(msg, ex);
               throw (IOException) new IOException(msg).initCause(ex);
             }
           } else {