File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ moving regions"
3333 echo " maxthreads xx Limit the number of threads used by the region mover. Default value is 1."
3434 echo " movetimeout xx Timeout for moving regions. If regions are not moved by the timeout value,\
3535exit with error. Default value is INT_MAX."
36- echo " hostname Hostname to stop; match what HBase uses; pass 'localhost' if local to avoid ssh "
36+ echo " hostname Hostname of server we are to stop "
3737 echo " e|failfast Set -e so exit immediately if any command exits with non-zero status"
3838 echo " nob|nobalancer Do not manage balancer states. This is only used as optimization in \
3939rolling_restart.sh to avoid multiple calls to hbase shell"
@@ -108,10 +108,6 @@ localhostname=`/bin/hostname -f`
108108if [ " $localhostname " == " $hostname " ]; then
109109 local=true
110110fi
111- if [ " $localhostname " == " $hostname " ] || [ " $hostname " == " localhost" ]; then
112- local=true
113- hostname=$localhostname
114- fi
115111
116112if [ " $nob " == " true" ]; then
117113 log " [ $0 ] skipping disabling balancer -nob argument is used"
You can’t perform that action at this time.
0 commit comments