You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Pankaj Kumar (Jira)" <ji...@apache.org> on 2020/09/21 18:29:00 UTC
[jira] [Created] (HBASE-25078) QuotaRefresherChore doesn't update
the User RPC Throttle quota effectively
Pankaj Kumar created HBASE-25078:
------------------------------------
Summary: QuotaRefresherChore doesn't update the User RPC Throttle quota effectively
Key: HBASE-25078
URL: https://issues.apache.org/jira/browse/HBASE-25078
Project: HBase
Issue Type: Improvement
Components: Quotas
Reporter: Pankaj Kumar
Currently RegionServer record a user on their first RPC and trigger the QuotaCache refresh,
https://github.com/apache/hbase/blob/8a6299bb387aaedcdab05224a462e63cd121fbb0/hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaCache.java#L136
And QuotaRefresherChore refresh quota periodically for those users who are recorded by RegionServer on their first RPC,
https://github.com/apache/hbase/blob/8a6299bb387aaedcdab05224a462e63cd121fbb0/hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaCache.java#L284
So even though user quota is set but it will be updated when user send RPC. Here each user will get 1 extra RPC in each RegionServer life and same will continue when got restarted.
We can enhance this by doing narrow scan on quota table to get the user specific quota
--
This message was sent by Atlassian Jira
(v8.3.4#803005)