[
https://issues.apache.org/jira/browse/HBASE-20985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571061#comment-16571061
]
Guanghao Zhang commented on HBASE-20985:
----------------------------------------
get/set should use same name pattern.... And the static config should use same
name too.
{code:java}
296 public int getNormalizerTargetRegionCount() {
297 return
getDelegateeForModification().getNormalizerTargetRegionCount();
298 }
299
300 public HTableDescriptor setNormalizationTargetRegionCount(final int
regionCount) {
301
getDelegateeForModification().setNormalizationTargetRegionCount(regionCount);
302 return this;
303 }
304
305 @Override
306 public long getNormalizerTargetRegionSize() {
307 return
getDelegateeForModification().getNormalizerTargetRegionSize();
308 }
309
310 public HTableDescriptor setNormalizationTargetRegionSize(final long
regionSize) {
311
getDelegateeForModification().setNormalizationTargetRegionSize(regionSize);
312 return this;
313 }
{code}
> add two attributes when we do normalization
> -------------------------------------------
>
> Key: HBASE-20985
> URL: https://issues.apache.org/jira/browse/HBASE-20985
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 2.1.0
> Reporter: Jingyun Tian
> Assignee: Jingyun Tian
> Priority: Major
> Fix For: 2.1.0
>
> Attachments: HBASE-20985.master.001.patch,
> HBASE-20985.master.002.patch, HBASE-20985.master.003.patch,
> HBASE-20985.master.004.patch
>
>
> Currently when we turn on normalization switch, it will help balance the
> whole table based on total region size / total region count. I add two
> attributes so that we can set total region count or average region size we
> want to achieve when normalization done.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)