[
https://issues.apache.org/jira/browse/HBASE-22513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yi Mei updated HBASE-22513:
---------------------------
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:
{code:java}
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
{code}
was: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.
> Admin#getQuota does not work correctly if exceedThrottleQuota is set
> --------------------------------------------------------------------
>
> Key: HBASE-22513
> URL: https://issues.apache.org/jira/browse/HBASE-22513
> Project: HBase
> Issue Type: Bug
> Reporter: Yi Mei
> Assignee: Yi Mei
> Priority: Major
>
> 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:
> {code:java}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)