Skip to content

Commit eef8e14

Browse files
sreenivasulureddypetersomogyi
authored andcommitted
HBASE-22793 RPC server connection is logging user as NULL principal
Signed-off-by: Peter Somogyi <[email protected]> Signed-off-by: Pankaj Kumar <[email protected]>
1 parent 0867714 commit eef8e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/CallRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void run() {
110110
if (RpcServer.LOG.isTraceEnabled()) {
111111
Optional<User> remoteUser = call.getRequestUser();
112112
RpcServer.LOG.trace(call.toShortString() + " executing as " +
113-
(remoteUser.isPresent() ? "NULL principal" : remoteUser.get().getName()));
113+
(remoteUser.isPresent() ? remoteUser.get().getName() : "NULL principal"));
114114
}
115115
Throwable errorThrowable = null;
116116
String error = null;

0 commit comments

Comments
 (0)