Re: Re: Re: question on "drain region servers"

2016-04-26 Thread Ted Yu
Please see HBASE-4298 where this feature was introduced. On Tue, Apr 26, 2016 at 5:12 AM, WangYQ wrote: > yes, there is a tool graceful_stop.sh to graceful stop regionserver, and > can move the regions back to the rs after rs come back. > but i can not find the

Re:Re: Re: question on "drain region servers"

2016-04-26 Thread WangYQ
yes, there is a tool graceful_stop.sh to graceful stop regionserver, and can move the regions back to the rs after rs come back. but i can not find the relation with drain region servers... i think drain region servers function is good, but can not think up with a pracital use case

Re: Re: question on "drain region servers"

2016-04-26 Thread Dejan Menges
One of use cases we use it is graceful stop of regionserver - you unload regions from the server before you restart it. Of course, after restart you expect HBase to move regions back. Now I'm not really remembering correctly, but I kinda remember that one of the features was at least that it will

Re: question on "drain region servers"

2016-04-25 Thread Ted Yu
Please take a look at: bin/draining_servers.rb On Mon, Apr 25, 2016 at 8:12 PM, WangYQ wrote: > in hbase, I find there is a "drain regionServer" feature > > > if a rs is added to drain regionServer in ZK, then regions will not be > move to on these regionServers > >