Details
Description
When running rolling-restart.sh --graceful we are using graceful_stop.sh to unload/restart/load regionserver. For every restarted regionserver we are making two calls in graceful-stop.sh to hbase shell to disable/enable balancer. This means if we have 100 regionservers to restart by rolling-restart.sh --graceful we will make 200 calls to hbase shell. Instead i propose that we add optional parameter in graceful_stop.sh that will tell script not to manage balancer and manage balancer states in rolling-restart.sh when running with --graceful parameter.