|
@@ -102,8 +102,6 @@ public class TestRMWebServicesCapacitySchedDynamicConfig extends
|
|
|
throws Exception {
|
|
|
Configuration config = CSConfigGenerator
|
|
|
.createPercentageConfig();
|
|
|
- config.set(YarnConfiguration.SCHEDULER_CONFIGURATION_STORE_CLASS,
|
|
|
- YarnConfiguration.MEMORY_CONFIGURATION_STORE);
|
|
|
|
|
|
initResourceManager(config);
|
|
|
|
|
@@ -121,8 +119,6 @@ public class TestRMWebServicesCapacitySchedDynamicConfig extends
|
|
|
throws Exception {
|
|
|
Configuration config = CSConfigGenerator
|
|
|
.createPercentageConfigLegacyAutoCreation();
|
|
|
- config.set(YarnConfiguration.SCHEDULER_CONFIGURATION_STORE_CLASS,
|
|
|
- YarnConfiguration.MEMORY_CONFIGURATION_STORE);
|
|
|
|
|
|
initResourceManager(config);
|
|
|
|
|
@@ -141,8 +137,6 @@ public class TestRMWebServicesCapacitySchedDynamicConfig extends
|
|
|
throws Exception {
|
|
|
Configuration config = CSConfigGenerator
|
|
|
.createAbsoluteConfigLegacyAutoCreation();
|
|
|
- config.set(YarnConfiguration.SCHEDULER_CONFIGURATION_STORE_CLASS,
|
|
|
- YarnConfiguration.MEMORY_CONFIGURATION_STORE);
|
|
|
|
|
|
initResourceManager(config);
|
|
|
initAutoQueueHandler(8192 * GB);
|
|
@@ -157,8 +151,6 @@ public class TestRMWebServicesCapacitySchedDynamicConfig extends
|
|
|
throws Exception {
|
|
|
Configuration config = CSConfigGenerator
|
|
|
.createAbsoluteConfig();
|
|
|
- config.set(YarnConfiguration.SCHEDULER_CONFIGURATION_STORE_CLASS,
|
|
|
- YarnConfiguration.MEMORY_CONFIGURATION_STORE);
|
|
|
|
|
|
initResourceManager(config);
|
|
|
|
|
@@ -176,8 +168,6 @@ public class TestRMWebServicesCapacitySchedDynamicConfig extends
|
|
|
throws Exception {
|
|
|
Configuration config = CSConfigGenerator
|
|
|
.createWeightConfig();
|
|
|
- config.set(YarnConfiguration.SCHEDULER_CONFIGURATION_STORE_CLASS,
|
|
|
- YarnConfiguration.MEMORY_CONFIGURATION_STORE);
|
|
|
|
|
|
initResourceManager(config);
|
|
|
|
|
@@ -197,8 +187,6 @@ public class TestRMWebServicesCapacitySchedDynamicConfig extends
|
|
|
throws Exception {
|
|
|
Configuration config = CSConfigGenerator
|
|
|
.createWeightConfigWithAutoQueueCreationEnabled();
|
|
|
- config.set(YarnConfiguration.SCHEDULER_CONFIGURATION_STORE_CLASS,
|
|
|
- YarnConfiguration.MEMORY_CONFIGURATION_STORE);
|
|
|
config.setInt(CapacitySchedulerConfiguration
|
|
|
.getQueuePrefix("root.autoParent1") +
|
|
|
AutoCreatedQueueTemplate.AUTO_QUEUE_TEMPLATE_PREFIX +
|
|
@@ -332,6 +320,10 @@ public class TestRMWebServicesCapacitySchedDynamicConfig extends
|
|
|
for (Map.Entry<String, String> entry : configs.entrySet()) {
|
|
|
config.set(entry.getKey(), entry.getValue());
|
|
|
}
|
|
|
+
|
|
|
+ config.set(YarnConfiguration.SCHEDULER_CONFIGURATION_STORE_CLASS,
|
|
|
+ YarnConfiguration.MEMORY_CONFIGURATION_STORE);
|
|
|
+
|
|
|
return config;
|
|
|
}
|
|
|
}
|