hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [1/2] hadoop git commit: HADOOP-12318. Expose underlying LDAP exceptions in SaslPlainServer. Contributed by Mike Yoder. (cherry picked from commit 28ea4c068ea0152af682058b02311bba81780770)
Date Wed, 12 Aug 2015 22:24:43 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 65d22b368 -> 43f386e74
  refs/heads/trunk 3e715a4f4 -> 820f864a2


HADOOP-12318. Expose underlying LDAP exceptions in SaslPlainServer. Contributed by Mike Yoder.
(cherry picked from commit 28ea4c068ea0152af682058b02311bba81780770)


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

Branch: refs/heads/branch-2
Commit: 43f386e7484ff7544ea5454bb0ba7453f3edfbcf
Parents: 65d22b3
Author: Aaron T. Myers <atm@apache.org>
Authored: Wed Aug 12 15:16:05 2015 -0700
Committer: Aaron T. Myers <atm@apache.org>
Committed: Wed Aug 12 15:16:36 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/43f386e7/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 bfad714..8be89ed 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -235,6 +235,9 @@ Release 2.8.0 - UNRELEASED
     HADOOP-12280. Skip unit tests based on maven profile rather than
     NativeCodeLoader.isNativeCodeLoaded (Masatake Iwasaki via Colin P. McCabe)
 
+    HADOOP-12318. Expose underlying LDAP exceptions in SaslPlainServer. (Mike
+    Yoder via atm)
+
   OPTIMIZATIONS
 
     HADOOP-11785. Reduce the number of listStatus operation in distcp

http://git-wip-us.apache.org/repos/asf/hadoop/blob/43f386e7/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SaslPlainServer.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SaslPlainServer.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SaslPlainServer.java
index 7d1b980..7c74f4a 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SaslPlainServer.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SaslPlainServer.java
@@ -105,7 +105,7 @@ public class SaslPlainServer implements SaslServer {
         authz = ac.getAuthorizedID();
       }
     } catch (Exception e) {
-      throw new SaslException("PLAIN auth failed: " + e.getMessage());
+      throw new SaslException("PLAIN auth failed: " + e.getMessage(), e);
     } finally {
       completed = true;
     }


Mime
View raw message