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:49:10 UTC

[hbase] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 326835e  HBASE-25594 Make easier to use graceful_stop on localhost mode (#3054) Addendum.
326835e is described below

commit 326835e8372cc83092e0ec127650438ff153476a
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