Commit 4e6bd8b 1 parent 2f53458 commit 4e6bd8b Copy full SHA for 4e6bd8b
File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -482,11 +482,12 @@ function control_services() {
482
482
local group
483
483
local tserver
484
484
local G
485
+ local sserver
486
+ local gc
485
487
if [[ $ARG_ALL == 1 && $ARG_LOCAL == 0 && $operation == " stop" ]]; then
486
488
echo " Stopping Accumulo cluster..."
487
489
if ! isDebug; then
488
490
# Stop all of the the Scan Server processes
489
- local sserver
490
491
for group in $SSERVER_GROUPS ; do
491
492
echo " Executing $( green " $ARG_CMD " ) on $( purple scan servers) for group $( yellow " $group " ) "
492
493
hosts=" SSERVER_HOSTS_$group "
@@ -497,7 +498,6 @@ function control_services() {
497
498
done
498
499
done
499
500
# Stop the GC processes, they scan and write to the metadata table
500
- local gc
501
501
for gc in $GC_HOSTS ; do
502
502
if canRunOnHost " $gc " ; then
503
503
echo " Executing $( green " $ARG_CMD " ) on $( purple garbage collectors) "
@@ -579,7 +579,6 @@ function control_services() {
579
579
done
580
580
fi
581
581
582
- local gc
583
582
if [[ $ARG_ALL == 1 || $ARG_GC == 1 ]]; then
584
583
for gc in $GC_HOSTS ; do
585
584
if canRunOnHost " $gc " ; then
@@ -610,7 +609,6 @@ function control_services() {
610
609
fi
611
610
612
611
local sserver_groups
613
- local sserver
614
612
if [[ $ARG_ALL == 1 || $ARG_SSERVER == 1 ]]; then
615
613
sserver_groups=$SSERVER_GROUPS
616
614
if [[ -n $ARG_SSERVER_GROUP ]]; then
You can’t perform that action at this time.
0 commit comments