dlmarion commented on code in PR #4046:
URL: https://github.com/apache/accumulo/pull/4046#discussion_r1422987989
##########
test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompactionMetricsIT.java:
##########
@@ -52,21 +58,28 @@
import org.apache.hadoop.conf.Configuration;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-@Disabled // ELASTICITY_TODO
public class ExternalCompactionMetricsIT extends SharedMiniClusterBase {
public static class ExternalCompactionMetricsITConfig
implements MiniClusterConfigurationCallback {
@Override
public void configureMiniCluster(MiniAccumuloConfigImpl cfg, Configuration
coreSite) {
ExternalCompactionTestUtils.configureMiniCluster(cfg, coreSite);
- cfg.getClusterServerConfiguration().setNumDefaultCompactors(2);
+ cfg.getClusterServerConfiguration().setNumDefaultCompactors(0);
// use one tserver so that queue metrics are not spread across tservers
cfg.getClusterServerConfiguration().setNumDefaultTabletServers(1);
+ // Override the initial state from ExternalCompactionTestUtils to not
create compactors
Review Comment:
Right, because MAC will read the properties and start the compactors for the
defined resource groups. Good catch.
--
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]