ddanielr commented on code in PR #4080:
URL: https://github.com/apache/accumulo/pull/4080#discussion_r1430789786
##########
test/src/main/java/org/apache/accumulo/test/compaction/CompactionExecutorIT.java:
##########
@@ -180,6 +212,18 @@ public static void teardown() {
@AfterEach
public void cleanup() {
+ var iter = compactionGroups.iterator();
+ while (iter.hasNext()) {
+ var group = iter.next();
+
getCluster().getConfig().getClusterServerConfiguration().addCompactorResourceGroup(group,
0);
Review Comment:
The other reason why we might have a group set to zero is because the
miniAccumuloClusterImpl goes through on `start()` and creates
compactorResourceGroups with a single compactor for each "group" it can find in
the "executors" config.
However, there might be cases where we don't want that compactor to run by
default, so we override that with a `0` setting.
https://github.com/apache/accumulo/blob/feadf10305fec490a32211606d87a06a5b398d65/minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java#L638-L642
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]