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 27e9c281da
commit 2e6c9efafe
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