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

Reid Chan updated HBASE-22308:
------------------------------
    Component/s: logging

> [Log] WARN level for AccessDeniedException in RpcServer
> -------------------------------------------------------
>
>                 Key: HBASE-22308
>                 URL: https://issues.apache.org/jira/browse/HBASE-22308
>             Project: HBase
>          Issue Type: Improvement
>          Components: logging
>            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)

Reply via email to