You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sun Xin (Jira)" <ji...@apache.org> on 2020/05/22 04:04:01 UTC

[jira] [Created] (HBASE-24416) RegionNormalizer spliting region should not be limited by hbase.normalizer.min.region.count

Sun Xin created HBASE-24416:
-------------------------------

             Summary: RegionNormalizer spliting region should not be limited by hbase.normalizer.min.region.count
                 Key: HBASE-24416
                 URL: https://issues.apache.org/jira/browse/HBASE-24416
             Project: HBase
          Issue Type: Improvement
    Affects Versions: 3.0.0-alpha-1
            Reporter: Sun Xin
            Assignee: Sun Xin
             Fix For: 3.0.0-alpha-1


In method computePlanForTable of SimpleRegionNormalizer: 

we will skip spliting region if the number of regions in the table is less than hbase.normalizer.min.region.count, even if there is a huge region in the table.
{code:java}
...
if (tableRegions == null || tableRegions.size() < minRegionCount) {
  ...
  return null;
}

...
// get region split plan
if (splitEnabled) {
  List<NormalizationPlan> splitPlans = getSplitNormalizationPlan(table);
  if (splitPlans != null) {
    plans.addAll(splitPlans);
  }
}
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)