Skip to content

Conversation

@ddanielr
Copy link
Contributor

Adds the ability to start and stop compactors and scan servers by compaction queue or scan server group.

This is important when attempting to run scan servers or compactors and not want to stop/start other accumulo services (gc, monitor, manager, compaction-coordinator).

@ddanielr ddanielr added this to the 2.1.3 milestone Jul 25, 2024
@ctubbsii ctubbsii linked an issue Jul 26, 2024 that may be closed by this pull request
ddanielr and others added 6 commits July 26, 2024 19:00
Use local variable for per-file for loop

Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
* switched accumulo-service to mostly using local variables
* start/stop/kill commands now print the name of the process to stdout
@ddanielr
Copy link
Contributor Author

One nice side-effect of the accumulo-service refactor is that now the specific service process name is returned to the user, not just the service type:

./accumulo-cluster start-servers --all
...
Starting sserver_default on localhost
Starting compaction-coordinator on localhost
Starting compactor_q1 on localhost
Starting compactor_q2 on localhost

@ddanielr
Copy link
Contributor Author

@ctubbsii I believe I've addressed all the changes that were needed.

Allows ACCUMULO_SERVICE_INSTANCE to be set to an empty string.
Switches from single bracket to double bracket logic to ensure bash
syntax is being used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update accumulo-cluster to start and stop compactors

2 participants