hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Balancing a table's regions across region servers
Date Tue, 18 Apr 2017 12:12:10 GMT
This is cluster wide config. 

> On Apr 18, 2017, at 3:25 AM, Sreeram <sreeram.v@gmail.com> wrote:
> 
> Thank you Ted for reply.
> 
> Can the parameter hbase.master.balancer.stochastic.tableSkewCost be
> set at a table level (for a very small table) ?
> 
> -Sreeram
> 
>> On Tue, Apr 18, 2017 at 3:12 PM, Ted Yu <yuzhihong@gmail.com> wrote:
>> If you look at the patch for HBASE-3373, you would see that there is a
>> config to enable per table balancing.
>> This was developed before StochasticLoadBalancer became the default
>> balancer.
>> 
>> In StochasticLoadBalancer, you need to increase the weight for
>> hbase.master.balancer.stochastic.tableSkewCost
>> Default weight is 35. Consider increasing to 500 range.
>> 
>> FYI
>> 
>>> On Tue, Apr 18, 2017 at 2:21 AM, Sreeram <sreeram.v@gmail.com> wrote:
>>> 
>>> Hi,
>>> 
>>> I have a requirement where, for one specific table, each region server
>>> always needs to manage at least one region - this table has more
>>> regions that the number of region servers.
>>> 
>>> Based on HBASE-3373, can I assume that this is taken care
>>> automatically by HBase Balancer?
>>> 
>>> The version of HBase that I use is HBase 1.2.0-cdh5.8.2
>>> 
>>> Kindly let me know
>>> 
>>> Thank you
>>> 
>>> -Sreeram
>>> 

Mime
View raw message