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

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

     [ https://issues.apache.org/jira/browse/HBASE-22793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Y. SREENIVASULU REDDY updated HBASE-22793:
------------------------------------------
    Attachment: HBASE-22793.branch-2.1.patch

> 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
>
>         Attachments: HBASE-22793.branch-2.1.patch
>
>
> 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)