accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhava...@apache.org
Subject [07/13] git commit: ACCUMULO-2152 fix start-all.sh to properly handle multiple gc/tracer roles.
Date Tue, 07 Jan 2014 22:37:45 GMT
ACCUMULO-2152 fix start-all.sh to properly handle multiple gc/tracer roles.

Signed-off-by: Bill Havanki <bhavanki@cloudera.com>


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

Branch: refs/heads/1.4.5-SNAPSHOT
Commit: 9abb725090fd83a7557a53cdc04fbbec26fb92f3
Parents: 8f4516e
Author: Sean Busbey <busbey@cloudera.com>
Authored: Tue Jan 7 13:04:05 2014 -0600
Committer: Bill Havanki <bhavanki@cloudera.com>
Committed: Tue Jan 7 16:31:24 2014 -0500

----------------------------------------------------------------------
 bin/start-all.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/9abb7250/bin/start-all.sh
----------------------------------------------------------------------
diff --git a/bin/start-all.sh b/bin/start-all.sh
index 60cf9c3..9c4badf 100755
--- a/bin/start-all.sh
+++ b/bin/start-all.sh
@@ -67,9 +67,9 @@ if [[ -r $ACCUMULO_CONF_DIR/gc ]]; then
 else
     GC=$MASTER1
 fi
-for gc in "$GC"
+for gc in $GC
 do
-    ${bin}/start-server.sh $gc gc "garbage collector"
+    ${bin}/start-server.sh "$gc" gc "garbage collector"
 done
 
 ${bin}/start-server.sh $MONITOR monitor 
@@ -79,7 +79,7 @@ if [[ -r $ACCUMULO_CONF_DIR/tracers ]]; then
 else
     TRACERS=$MASTER1
 fi
-for tracer in "$TRACERS"
+for tracer in $TRACERS
 do
-   ${bin}/start-server.sh $tracer tracer
+   ${bin}/start-server.sh "$tracer" tracer
 done


Mime
View raw message