HADOOP-12324. Better exception reporting in SaslPlainServer. (Mike Yoder via stevel)

This commit is contained in:
Steve Loughran 2015-09-11 15:55:14 +01:00
parent a4288f1262
commit 4073539118
2 changed files with 4 additions and 1 deletions

View File

@ -184,6 +184,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-12369. Point hadoop-project/pom.xml java.security.krb5.conf
within target folder. (wang)
HADOOP-12324. Better exception reporting in SaslPlainServer.
(Mike Yoder via stevel)
BUG FIXES
HADOOP-12124. Add HTrace support for FsShell (cmccabe)

View File

@ -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;
}