HADOOP-11291. Log the cause of SASL connection failures. Contributed by Stephen Chu.
This commit is contained in:
parent
0abb973f09
commit
7dae5b5a88
|
@ -380,6 +380,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
|
|
||||||
HADOOP-10786. Fix UGI#reloginFromKeytab on Java 8. (Stephen Chu via wheat9)
|
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
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -668,7 +668,7 @@ public class Client {
|
||||||
String msg = "Couldn't setup connection for "
|
String msg = "Couldn't setup connection for "
|
||||||
+ UserGroupInformation.getLoginUser().getUserName() + " to "
|
+ UserGroupInformation.getLoginUser().getUserName() + " to "
|
||||||
+ remoteId;
|
+ remoteId;
|
||||||
LOG.warn(msg);
|
LOG.warn(msg, ex);
|
||||||
throw (IOException) new IOException(msg).initCause(ex);
|
throw (IOException) new IOException(msg).initCause(ex);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue