[
https://issues.apache.org/jira/browse/HBASE-22013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790249#comment-16790249
]
Uma Maheswari commented on HBASE-22013:
---------------------------------------
FileSystemUtilizationChore-doesnot calculate the size of Region Replica
Consider the scenario with table created with 1 region and 1 replica
In our case,
FileSystemUtilizationChore -reports the size of 1 region only,skipping the size
of Region Replica
+QuotaObserverChore:+
hbase.master.quotas.observer.report.percent=0.95
_//percentRegionsReportedThreshold_
In filterInsufficientlyReportedTables() method,
{noformat}
int numRegionsInTable = getNumRegions(table) //return 2 regions (1
replica+actual region)
ratioReported = ((double) reportedRegionsInQuota) / numRegionsInTable
//ratioReported =0.5 which is less than percentRegionsReportedThreshold
{noformat}
Master waits for replication region report also and usage is not calculated
QuotaObserverChore is considering Replicated regions for calculation
> SpaceQuota utilization issue with region replicas enabled
> ---------------------------------------------------------
>
> Key: HBASE-22013
> URL: https://issues.apache.org/jira/browse/HBASE-22013
> Project: HBase
> Issue Type: Bug
> Reporter: Ajeet Rai
> Priority: Major
>
> 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
(v7.6.3#76005)