hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wan...@apache.org
Subject [34/42] hadoop git commit: HADOOP-12324. Better exception reporting in SaslPlainServer. (Mike Yoder via stevel)
Date Fri, 11 Sep 2015 17:20:55 GMT
HADOOP-12324. Better exception reporting in SaslPlainServer.   (Mike Yoder via stevel)


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

Branch: refs/heads/YARN-1197
Commit: ca0827a86235dbc4d7e00cc8426ebff9fcc2d421
Parents: 486d5cb
Author: Steve Loughran <stevel@apache.org>
Authored: Fri Sep 11 15:55:14 2015 +0100
Committer: Steve Loughran <stevel@apache.org>
Committed: Fri Sep 11 15:58:53 2015 +0100

----------------------------------------------------------------------
 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/ca0827a8/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 c04bfd0..6ea2484 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -765,6 +765,9 @@ Release 2.8.0 - UNRELEASED
     HADOOP-12384. Add "-direct" flag option for fs copy so that user can choose
     not to create "._COPYING_" file (J.Andreina via vinayakumarb)
 
+    HADOOP-12324. Better exception reporting in SaslPlainServer.
+    (Mike Yoder via stevel)
+
   OPTIMIZATIONS
 
     HADOOP-11785. Reduce the number of listStatus operation in distcp

http://git-wip-us.apache.org/repos/asf/hadoop/blob/ca0827a8/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 7c74f4a..270b579 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(), e);
+      throw new SaslException("PLAIN auth failed: " + e.toString(), e);
     } finally {
       completed = true;
     }


Mime
View raw message