You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sakthi (Jira)" <ji...@apache.org> on 2019/08/21 07:44:00 UTC

[jira] [Updated] (HBASE-22013) SpaceQuotas - getNumRegions() returning wrong number of regions due to region replicas

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

Sakthi updated HBASE-22013:
---------------------------
    Summary: SpaceQuotas - getNumRegions() returning wrong number of regions due to region replicas  (was: SpaceQuota utilization issue with region replicas enabled)

> 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.master.001.patch, HBASE-22013.master.002.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)