HBASE-25594 Make easier to use graceful_stop on localhost mode (#3054)

Addendum.
This commit is contained in:
stack 2021-03-20 13:47:18 -07:00
parent ba3610d097
commit 326835e837
1 changed files with 0 additions and 3 deletions

View File

@ -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