[
https://issues.apache.org/jira/browse/HBASE-22013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913057#comment-16913057
]
Sakthi commented on HBASE-22013:
--------------------------------
Actually, let me revert this commit from master. branch-2.2 shows it's frequent
failure. Also master branch has this test on it's flakey list. Looks like our
TestSpaceQuotas is pretty overloaded because of all the sleeps etc. So we would
often cross the 13 mins limit and get timeout eventually leading to appearance
of TestSpaceQuotas in the flakey list.
Like here:Â
[https://builds.apache.org/view/H-L/view/HBase/job/HBase-adhoc-run-tests/27/]
I'll file another Jira to refractor our TestSpaceQuotas & then come back to
this. Hang around [~shardulsingh] :)
> 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)