Details
Description
While running rolling-restart.sh without arguments or with --master-only argument script throws error when trying to check did all regions are cleared from transition state. Here is line causing error:
if [ "$zunassigned" == "null" ]; then zunassigned="unassigned"; fi
AFAIK default value of "zookeeper.znode.unassiged" is changed to "region-in-transition". So we should change this line to:
if [ "$zunassigned" == "null" ]; then zunassigned="region-in-transition"; fi
I will attach patch today.