You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/04/18 02:10:00 UTC
[jira] [Commented] (HBASE-20449) the minimun number of region
should be configurable in normalizable
[ https://issues.apache.org/jira/browse/HBASE-20449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441768#comment-16441768 ]
Ted Yu commented on HBASE-20449:
--------------------------------
{code}
26 import org.apache.hadoop.hbase.*;
{code}
No wildcard import.
{code}
+ public int getMinRegionCount(){
+ return configuration.getInt("hbase.min.region.count",3);
{code}
You can retrieve the min region count in constructor and save as instance variable.
w.r.t. the config key name, please include normalizer in it.
> the minimun number of region should be configurable in normalizable
> -------------------------------------------------------------------
>
> Key: HBASE-20449
> URL: https://issues.apache.org/jira/browse/HBASE-20449
> Project: HBase
> Issue Type: Improvement
> Components: hbase
> Affects Versions: 3.0.0
> Reporter: Yu Wang
> Assignee: Yu Wang
> Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HBASE-20449_001.patch
>
>
> the minimun number of region should be configurable in normalizable
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)