HBASE-25594 Make easier to use graceful_stop on localhost mode (#3054)
Addendum.
This commit is contained in:
parent
27e9c281da
commit
2e6c9efafe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue