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

Admin#getQuota does not work correctly if exceedThrottleQuota is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0, 2.3.0
    • Quotas
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: