hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brennon Church <bren...@getjar.com>
Subject Re: HBase table affinity to host(s)
Date Sat, 22 Dec 2012 07:01:39 GMT
I do allow regions from other tables on the newer servers.  The issue 
stems from a single table that habitually causes hot regions. Not such a 
problem on the new servers, but when those regions hit the older systems 
bad things happen.  I think the proper long-term solution is to change 
the code writing to the table, but that's not something that can be done 
right now, so I'm looking for the second best option.

The HBASE-6721 option sounds perfect, if I'm reading it correctly. It 
doesn't quite fit my use case, but would solve the problem regardless.

If I understand the balancer part correctly, a possible but ugly (IMHO) 
option would be to move the region(s) causing trouble over to the more 
powerful servers then disable automatic balancing.  Would region splits 
then remain on the same system as the original region?  If so, it would 
work around the problem but at the expense of having to manually move 
regions around more frequently to keep everything else balanced.



On 12/21/12 8:48 PM, Ted Yu wrote:
> Brennon:
> I forgot to ask you about other tables you have. Do you allow regions of
> other tables to also be assigned to this group of newer servers ?
> If you do, there is possibility that the combined load on such new servers
> would make response from them slow.
> Cheers
> On Fri, Dec 21, 2012 at 8:28 PM, Ted Yu <yuzhihong@gmail.com> wrote:
>> What you describe is akin to HBASE-6721 region server group.
>> Basically you want this table to be bound to group of region servers.
>> Development for 0.94 is on-going, to my knowledge.
>> Cheers
>> On Fri, Dec 21, 2012 at 7:30 PM, Brennon Church <brennon@getjar.com>wrote:
>>> 0.92.0
>>> I was looking at the balancer option.  I'm loathe to turn the automatic
>>> balancer off and handle it manually as we have a lot of regions.  Is that
>>> the option you were thinking of?  Or am I missing something?
>>> Thanks.
>>> --Brennon
>>> On 12/21/12 4:19 PM, Ted Yu wrote:
>>>> Currently there is no such capability - you may need to customize load
>>>> balancer.
>>>> What version of HBase are you using ?
>>>> Cheers
>>>> On Fri, Dec 21, 2012 at 3:54 PM, Brennon Church <brennon@getjar.com>
>>>> wrote:
>>>>   I'm curious, is there any concept of hosting regions from a given table
>>>>> only on a single host or subset of hosts in a cluster?  In our case we
>>>>> have
>>>>> a heavily-used table that can cause problems for the older systems in
>>>>> our
>>>>> cluster.  Newer systems would have less trouble, so I'd like to restrict
>>>>> regions for that one table only to those more powerful servers.
>>>>> Thanks.
>>>>> --Brennon

View raw message