Skip to content

Commit

Permalink
HBASE-22793 RPC server connection is logging user as NULL principal
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Pankaj Kumar <pankaj.kr@huawei.com>
  • Loading branch information
sreenivasulureddy authored and petersomogyi committed Aug 6, 2019
1 parent 0867714 commit eef8e14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void run() {
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;
Expand Down

0 comments on commit eef8e14

Please sign in to comment.