This is an automated email from the ASF dual-hosted git repository. psomogyi pushed a commit to branch branch-2.2 in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.2 by this push: new fbde65d HBASE-22793 RPC server connection is logging user as NULL principal fbde65d is described below commit fbde65d3dcf7eb09eeb59ab19ebd98875038f63d Author: sreenivasulureddy <sreenivasul...@huawei.com> AuthorDate: Mon Aug 5 14:06:13 2019 +0530 HBASE-22793 RPC server connection is logging user as NULL principal Signed-off-by: Peter Somogyi <psomo...@apache.org> Signed-off-by: Pankaj Kumar <pankaj...@huawei.com> --- hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/CallRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/CallRunner.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/CallRunner.java index 85f58ba..0ad3613 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/CallRunner.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/CallRunner.java @@ -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;