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 486d5cb803
commit ca0827a862
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -105,7 +105,7 @@ public byte[] evaluateResponse(byte[] response) throws SaslException {
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;
}