HBASE-15854 Log the cause of SASL connection failures (Robert Yokota)
This commit is contained in:
parent
02a641e2b1
commit
22aa501436
@ -667,7 +667,7 @@ public class RpcClientImpl extends AbstractRpcClient {
|
||||
String msg = "Couldn't setup connection for " +
|
||||
UserGroupInformation.getLoginUser().getUserName() +
|
||||
" to " + serverPrincipal;
|
||||
LOG.warn(msg);
|
||||
LOG.warn(msg, ex);
|
||||
throw (IOException) new IOException(msg).initCause(ex);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user