[ 
https://issues.apache.org/jira/browse/HBASE-25078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pankaj Kumar updated HBASE-25078:
---------------------------------
    Summary: QuotaRefresherChore doesn't update QuotaCache for user effectively 
 (was: QuotaRefresherChore doesn't update the User RPC Throttle quota 
effectively)

> QuotaRefresherChore doesn't update QuotaCache for user effectively
> ------------------------------------------------------------------
>
>                 Key: HBASE-25078
>                 URL: https://issues.apache.org/jira/browse/HBASE-25078
>             Project: HBase
>          Issue Type: Improvement
>          Components: Quotas
>            Reporter: Pankaj Kumar
>            Assignee: Pankaj Kumar
>            Priority: Minor
>
> 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)

Reply via email to