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

[jira] [Commented] (HBASE-22308) [Log] INFO level for AccessDeniedException in RpcServer

    [ https://issues.apache.org/jira/browse/HBASE-22308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825850#comment-16825850 ] 

Reid Chan commented on HBASE-22308:
-----------------------------------

It affects all version. And I plan to patch this improvement in branch-1, master and branch-2.
I'll upload a patch late this day.

> [Log] INFO level for AccessDeniedException in RpcServer
> -------------------------------------------------------
>
>                 Key: HBASE-22308
>                 URL: https://issues.apache.org/jira/browse/HBASE-22308
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Reid Chan
>            Assignee: Reid Chan
>            Priority: Major
>
> {code:java}
> 2019-04-25 15:38:27,006 INFO  org.apache.hadoop.hbase.client.RpcRetryingCaller              - Call exception, tries=10, retries=35, started=38580 ms ago, cancelled=false, msg=
> 2019-04-25 15:38:37,080 INFO  org.apache.hadoop.hbase.client.RpcRetryingCaller              - Call exception, tries=11, retries=35, started=48654 ms ago, cancelled=false, msg=
> 2019-04-25 15:38:57,282 INFO  org.apache.hadoop.hbase.client.RpcRetryingCaller              - Call exception, tries=12, retries=35, started=68856 ms ago, cancelled=false, msg=
> 2019-04-25 15:39:17,291 INFO  org.apache.hadoop.hbase.client.RpcRetryingCaller              - Call exception, tries=13, retries=35, started=88865 ms ago, cancelled=false, msg=
> 2019-04-25 15:39:37,486 INFO  org.apache.hadoop.hbase.client.RpcRetryingCaller              - Call exception, tries=14, retries=35, started=109060 ms ago, cancelled=false, msg=
> 2019-04-25 15:39:57,576 INFO  org.apache.hadoop.hbase.client.RpcRetryingCaller              - Call exception, tries=15,
> {code}
> One of my clients failed to connect to hbase without any error message both on client and server side.
> Not until i set log level DEBUG did i found that it was caused by AccessDeniedException:
> {code:java}
> 2019-01-10 19:36:47,670 DEBUG [RpcServer.default.FPBQ.Fifo.handler=28,queue=1,port=16000] ipc.RpcServer: RpcServer.default.FPBQ.Fifo.handler=28,queue=1,port=16000: callId: 1 service: MasterService methodName: GetNamespaceDescriptor size: 38 connection: 10.88.77.73:47242 deadline: 9223372036854775807
> org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions (user=dw, scope=SYSTEM, params=[namespace=SYSTEM],action=ADMIN)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)