Class DrainingServerTracker

java.lang.Object
org.apache.hadoop.hbase.zookeeper.ZKListener
org.apache.hadoop.hbase.master.DrainingServerTracker

@Private public class DrainingServerTracker extends ZKListener
Tracks the list of draining region servers via ZK.

This class is responsible for watching for changes to the draining servers list. It handles adds/deletes in the draining RS list and watches each node.

If an RS gets deleted from draining list, we call ServerManager.removeServerFromDrainList(ServerName)

If an RS gets added to the draining list, we add a watcher to it and call ServerManager.addServerToDrainList(ServerName)

This class is deprecated in 2.0 because decommission/draining API goes through master in 2.0. Can remove this class in 3.0.