accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [1/2] git commit: ACCUMULO-1698, have stop-here use system+aliased hostname
Date Wed, 11 Sep 2013 01:25:45 GMT
Updated Branches:
  refs/heads/1.5.1-SNAPSHOT 9af0b9d60 -> cd135831c


ACCUMULO-1698, have stop-here use system+aliased hostname

Signed-off-by: Josh Elser <elserj@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/ac4a027b
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/ac4a027b
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/ac4a027b

Branch: refs/heads/1.5.1-SNAPSHOT
Commit: ac4a027b42ebe66fd184f8b0792272e4bdb86f8e
Parents: da95fd6
Author: Alex Moundalexis <alexm@cloudera.com>
Authored: Fri Sep 6 16:44:20 2013 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Tue Sep 10 21:12:58 2013 -0400

----------------------------------------------------------------------
 bin/stop-here.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/ac4a027b/bin/stop-here.sh
----------------------------------------------------------------------
diff --git a/bin/stop-here.sh b/bin/stop-here.sh
index f7fbad0..315bbc6 100755
--- a/bin/stop-here.sh
+++ b/bin/stop-here.sh
@@ -30,7 +30,7 @@ if grep -q localhost $ACCUMULO_CONF_DIR/slaves
 then
     $bin/accumulo admin stop localhost
 else
-    for host in `hostname -a`
+    for host in "`hostname -a` `hostname`"
     do
        if grep -q $host $ACCUMULO_CONF_DIR/slaves
        then


Mime
View raw message