HBASE-22793 RPC server connection is logging user as NULL principal
Signed-off-by: Peter Somogyi <psomogyi@apache.org> Signed-off-by: Pankaj Kumar <pankaj.kr@huawei.com>
This commit is contained in:
parent
08677143e8
commit
eef8e140c5
|
@ -110,7 +110,7 @@ public class CallRunner {
|
|||
if (RpcServer.LOG.isTraceEnabled()) {
|
||||
Optional<User> remoteUser = call.getRequestUser();
|
||||
RpcServer.LOG.trace(call.toShortString() + " executing as " +
|
||||
(remoteUser.isPresent() ? "NULL principal" : remoteUser.get().getName()));
|
||||
(remoteUser.isPresent() ? remoteUser.get().getName() : "NULL principal"));
|
||||
}
|
||||
Throwable errorThrowable = null;
|
||||
String error = null;
|
||||
|
|
Loading…
Reference in New Issue