[ https://issues.apache.org/jira/browse/HBASE-22793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899911#comment-16899911 ]
Pankaj Kumar commented on HBASE-22793: -------------------------------------- Nice catch [~sreenivasulureddy] > RPC server connection is logging user as NULL principal > ------------------------------------------------------- > > Key: HBASE-22793 > URL: https://issues.apache.org/jira/browse/HBASE-22793 > Project: HBase > Issue Type: Bug > Components: rpc > Affects Versions: 2.1.1 > Reporter: Y. SREENIVASULU REDDY > Assignee: Y. SREENIVASULU REDDY > Priority: Minor > Fix For: 2.1.6 > > > User information is logging as NULL in *CallRunner.java* > {code} > this.status.setConnection(call.getRemoteAddress().getHostAddress(), > call.getRemotePort()); > if (RpcServer.LOG.isTraceEnabled()) { > Optional<User> remoteUser = call.getRequestUser(); > RpcServer.LOG.trace(call.toShortString() + " executing as " + > (remoteUser.isPresent() ? "NULL principal" : > remoteUser.get().getName())); > } > Throwable errorThrowable = null; > {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016)