[ 
https://issues.apache.org/jira/browse/HBASE-22013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16915580#comment-16915580
 ] 

Sakthi commented on HBASE-22013:
--------------------------------

[~shardulsingh], now that HBASE-22895 has gone in, can you re-try if the patch 
is still applicable. Most probably it should not be applicable because of the 
removal of TestSpaceQuotas file. Could you please adjust your patch accordingly 
and post it here? Thanks.

> SpaceQuotas - getNumRegions() returning wrong number of regions due to region 
> replicas
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-22013
>                 URL: https://issues.apache.org/jira/browse/HBASE-22013
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ajeet Rai
>            Assignee: Shardul Singh
>            Priority: Major
>              Labels: Quota, Space
>             Fix For: 2.1.0
>
>         Attachments: HBASE-22013.branch-2.1.001.patch, 
> HBASE-22013.master.001.patch, HBASE-22013.master.002.patch, 
> hbase-22013.branch-2.001.patch, hbase-22013.branch-2.2.001.patch
>
>
> Space Quota: Space Quota Issue: If a table is created with region replica 
> then quota calculation is not happening
> Steps:
> 1: Create a table with 100 regions with region replica 3
> 2:  Observe that 'hbase:quota' table doesn't have entry of usage for this 
> table So In UI only policy Limit and Policy is shown but not Usage and State.
> Reason: 
>  It looks like File system utilization core is sending data of 100 reasons 
> but not the size of region replicas.
>  But in quota observer chore, it is considering total region(actual regions+ 
> replica reasons) 
>  So the  ratio of reported regions is less then configured 
> percentRegionsReportedThreshold.
> SO quota calculation is not happening



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to