You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Y. SREENIVASULU REDDY (JIRA)" <ji...@apache.org> on 2019/08/05 08:49:00 UTC

[jira] [Created] (HBASE-22793) RPC server connection is logging user as NULL principal

Y. SREENIVASULU REDDY created HBASE-22793:
---------------------------------------------

             Summary: 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
             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)