You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2021/03/20 20:48:42 UTC
[hbase] branch branch-2.4 updated: HBASE-25594 Make easier to use
graceful_stop on localhost mode (#3054) Addendum.
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new 2e6c9ef HBASE-25594 Make easier to use graceful_stop on localhost mode (#3054) Addendum.
2e6c9ef is described below
commit 2e6c9efafe4b36b45c1cfcfa9657f2981a71a0df
Author: stack <st...@apache.org>
AuthorDate: Sat Mar 20 13:47:18 2021 -0700
HBASE-25594 Make easier to use graceful_stop on localhost mode (#3054)
Addendum.
---
bin/graceful_stop.sh | 3 ---
1 file changed, 3 deletions(-)
diff --git a/bin/graceful_stop.sh b/bin/graceful_stop.sh
index 05919ce..fc18239 100755
--- a/bin/graceful_stop.sh
+++ b/bin/graceful_stop.sh
@@ -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