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
c03bf73e24
commit
be84e36bee
@ -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…
x
Reference in New Issue
Block a user