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

Admin#getQuota does not work correctly if exceedThrottleQuota is set

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-1, 2.2.0, 2.3.0
    • Component/s: Quotas
    • Labels:
      None

      Description

      Admin#getQuota get nothing if exceedThrottleQuota is set, because exceedThrottleQuota is a special row key in quota table and can not be parsed to a QuotaSettings.

      The shell command results are as follows:

      hbase(main):018:0> list_quotas
      OWNER QUOTAS
      0 row(s)
      Took 0.0342 seconds
      
      hbase(main):019:0> scan 'hbase:quota'
      ROW COLUMN+CELL
      exceedThrottleQuota column=q:s, timestamp=1559199136449, value=\x00
      n.ang column=q:s, timestamp=1559122413584, value=PBUF\x12\x08*\x06\x08\x04\x10" \x02
      n.ns1 column=q:s, timestamp=1559203286943, value=PBUF\x12\x10\x1A\x06\x08\x04\x10\x05 \x02*\x06\x08\x04\x10\x05 \x02\x1A\x0A\x08\x
      80\x80\x80\x80\x80\xC0\x0C\x10\x03
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                meiyi Yi Mei
                Reporter:
                meiyi Yi Mei
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: