hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norbert Burger <norbert.bur...@gmail.com>
Subject Re: regions not balanced, CDH4.1.2
Date Tue, 04 Dec 2012 22:33:42 GMT
Forcing hbase.master.loadbalance.bytable=true seems to have resolved
my balance issue.  Thanks again.

Norbert

On Tue, Dec 4, 2012 at 2:56 PM, Jimmy Xiang <jxiang@cloudera.com> wrote:
> Right, that's config.  You can turn it on and restart the cluster.
>
> Upstream it is on by default.  However, it is turned off by default in
> CDH4.1.2 to be backward compatible.
>
> Thanks,
> Jimmy
>
> On Tue, Dec 4, 2012 at 11:28 AM, Norbert Burger
> <norbert.burger@gmail.com> wrote:
>> Thanks, Jimmy.  Do you mean the config
>> "hbase.master.loadbalance.bytable"?  According to [1] and [2], it is
>> "true" by default.
>>
>> [1] https://issues.apache.org/jira/secure/attachment/12509174/3373.txt
>> [2] http://search-hadoop.com/m/M6z7G1PKejw
>>
>> Norbert
>>
>> On Tue, Dec 4, 2012 at 2:23 PM, Jimmy Xiang <jxiang@cloudera.com> wrote:
>>> In CDH4.1.2, per table region balancing is turned off by default.
>>>
>>> You can change the configuration to turn it on.
>>>
>>> Thanks,
>>> Jimmy
>>>
>>> On Tue, Dec 4, 2012 at 11:10 AM, Ted Yu <yuzhihong@gmail.com> wrote:
>>>> Can you give us a little more detail on how much deviation the region
>>>> counts on region servers have ?
>>>>
>>>> There is a parameter, hbase.regions.slop, with default value of 0.2
>>>> This parameter allows region count to deviate by certain percentage from
>>>> average region count.
>>>>
>>>> You can tighten the value for this parameter and see if you get better
>>>> results.
>>>>
>>>> I will also put the above summary on HBASE-3373.
>>>>
>>>> Thanks
>>>>
>>>> On Tue, Dec 4, 2012 at 8:42 AM, Norbert Burger <norbert.burger@gmail.com>wrote:
>>>>
>>>>> We upgraded to CDH4.1.2 (contains HBASE-3373) in one of our
>>>>> environments.  After filling that environment with data, I was
>>>>> surprised to see that regions were not balanced across regionservers
>>>>> at the table level.  We have restarted all regionservers at least once
>>>>> here.
>>>>>
>>>>> In [1], I see Stack's reference to temporarily adding
>>>>> "hbase.master.startup.retainassign=false" and restarting nodes.  Is
>>>>> this a necessary step on the path to region balancing nirvana?
>>>>>
>>>>> Norbert
>>>>>
>>>>> [1] http://search-hadoop.com/m/MQSPEyUQIv1
>>>>>

Mime
View raw message