Skip to content

Commit 599602c

Browse files
author
Javier
committed
HBASE-25594 graceful_stop.sh fails to unload regions when ran at localhost
1 parent 5fa15cf commit 599602c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/graceful_stop.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ hostname=$1
103103
filename="/tmp/$hostname"
104104

105105
local=
106-
localhostname=`/bin/hostname`
106+
localhostname=`/bin/hostname -f`
107107

108108
if [ "$localhostname" == "$hostname" ]; then
109109
local=true

0 commit comments

Comments
 (0)