hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WangYQ <wangyongqiang0...@163.com>
Subject Re:Re: question on "drain region servers"
Date Tue, 26 Apr 2016 06:15:05 GMT
in hbase 0.99.0,  I find the rb file: draining_servers.rb

i have some suggestions on this tool:
1. if I add rs hs1 to draining_servers, when hs1 restart, the zk node still exists in zk,
but hmaster will not treat hs1 as draining_servers
    i think when we add a hs to draining_servers, we do not need to store the start code in
zk, just store the hostName and port 
2.  we add hs1 to draining_servers, but if hs1 always restart, we will need to add hs1 several
  when we need to delete the draining_servers info of hs1, we  will  need to delete hs1 several

finally, what is the original motivation of this tool, some scenario descriptions are good.

At 2016-04-26 11:33:10, "Ted Yu" <yuzhihong@gmail.com> wrote:
>Please take a look at:
>On Mon, Apr 25, 2016 at 8:12 PM, WangYQ <wangyongqiang0617@163.com> 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
>> but, how can a rs be add to  drain regionServer,   we add it handly or rs
>> will add itself automaticly
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message