We use region_mover.rb in the graceful upgrade of hbase cluster.
Here are small improvements.
a. remove the table.close(), because the htable could be reused.
b. Add more info in the log of moving region.
c. Add 20s sleep in load command to make sure the rs finished initialization of rpc server. There is a time gap between rs startup report and rpc server initialization.