This is an automated email from the ASF dual-hosted git repository. psomogyi pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.1 by this push: new 935d271 HBASE-22793 RPC server connection is logging user as NULL principal 935d271 is described below commit 935d271f77b149ca27fc0ac91fcb68007240bf55 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 e4763a5..ae690f8 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 @@ -109,7 +109,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;