From 2e6c9efafe4b36b45c1cfcfa9657f2981a71a0df Mon Sep 17 00:00:00 2001 From: stack Date: Sat, 20 Mar 2021 13:47:18 -0700 Subject: [PATCH] HBASE-25594 Make easier to use graceful_stop on localhost mode (#3054) Addendum. --- bin/graceful_stop.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/bin/graceful_stop.sh b/bin/graceful_stop.sh index 05919ce72d6..fc18239830b 100755 --- a/bin/graceful_stop.sh +++ b/bin/graceful_stop.sh @@ -105,9 +105,6 @@ filename="/tmp/$hostname" local= localhostname=`/bin/hostname -f` -if [ "$localhostname" == "$hostname" ]; then - local=true -fi if [ "$localhostname" == "$hostname" ] || [ "$hostname" == "localhost" ]; then local=true hostname=$localhostname