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 85f58ba3708..0ad3613af2f 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 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;