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 @@ -32,7 +32,7 @@ moving regions"
3232 echo " maxthreads xx Limit the number of threads used by the region mover. Default value is 1."
3333 echo " movetimeout xx Timeout for moving regions. If regions are not moved by the timeout value,\
3434exit with error. Default value is INT_MAX."
35- echo " hostname Hostname to stop; match what HBase uses; pass 'localhost' if local to avoid ssh "
35+ echo " hostname Hostname of server we are to stop "
3636 echo " e|failfast Set -e so exit immediately if any command exits with non-zero status"
3737 echo " nob| nobalancer Do not manage balancer states. This is only used as optimization in \
3838rolling_restart.sh to avoid multiple calls to hbase shell"
@@ -100,10 +100,6 @@ localhostname=`/bin/hostname`
100100if [ " $localhostname " == " $hostname " ]; then
101101 local=true
102102fi
103- if [ " $localhostname " == " $hostname " ] || [ " $hostname " == " localhost" ]; then
104- local=true
105- hostname=$localhostname
106- fi
107103
108104if [ " $nob " == " true" ]; then
109105 log " [ $0 ] skipping disabling balancer -nob argument is used"
You can’t perform that action at this time.
0 commit comments