HBASE-25594 Make easier to use graceful_stop on localhost mode (#3054)
Addendum.
This commit is contained in:
parent
ba3610d097
commit
326835e837
|
@ -105,9 +105,6 @@ filename="/tmp/$hostname"
|
||||||
local=
|
local=
|
||||||
localhostname=`/bin/hostname -f`
|
localhostname=`/bin/hostname -f`
|
||||||
|
|
||||||
if [ "$localhostname" == "$hostname" ]; then
|
|
||||||
local=true
|
|
||||||
fi
|
|
||||||
if [ "$localhostname" == "$hostname" ] || [ "$hostname" == "localhost" ]; then
|
if [ "$localhostname" == "$hostname" ] || [ "$hostname" == "localhost" ]; then
|
||||||
local=true
|
local=true
|
||||||
hostname=$localhostname
|
hostname=$localhostname
|
||||||
|
|
Loading…
Reference in New Issue