Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22308

[Log] WARN level for AccessDeniedException in RpcServer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • logging
    • None

    Description

      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,
      

      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:

      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)
      

      Attachments

        Activity

          People

            reidchan Reid Chan
            reidchan Reid Chan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: