hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: SocketTimeoutException caused by GC?
Date Fri, 28 Jan 2011 00:27:55 GMT
Doing it from the master is what we aim to do, but it's a lot more
involved. I know that jgray has a few ideas on the subject.


On Thu, Jan 27, 2011 at 4:25 PM, Ted Dunning <tdunning@maprtech.com> wrote:
> Why doesn't the master do this?  Why not just set it up so that you can tell
> the master that the maximum number of regions for the soon-to-go region
> server is 0?
> On Thu, Jan 27, 2011 at 3:53 PM, Jean-Daniel Cryans <jdcryans@apache.org>wrote:
>> Writing this gives me an idea... I think one "easy" way we could
>> achieve this region draining problem is by writing a jruby script
>> that:
>> 1- Retrieves the list of regions served by a RS
>> 2- Disables master balancing
>> 3- Moves one by one every region out of the RS, assigning them to the
>> other RSs in a round-robin fashion
>> 4- Shuts down the RS
>> 5- Reenables master balancing
>> I wonder if it would work... At least it's a process that you could
>> stop at any time without breaking everything.

View raw message