YARN-5278. Remove unused argument in TestRMWebServicesForCSWithPartitions#setupQueueConfiguration. Contributed by Tao Jie.

This commit is contained in:
Akira Ajisaka 2016-06-23 14:28:12 +09:00
parent 01643020d2
commit a8a48c9125

View File

@ -87,7 +87,7 @@ protected void configureServlets() {
bind(RMWebServices.class);
bind(GenericExceptionHandler.class);
csConf = new CapacitySchedulerConfiguration();
setupQueueConfiguration(csConf, rm);
setupQueueConfiguration(csConf);
conf = new YarnConfiguration(csConf);
conf.setClass(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class,
ResourceScheduler.class);
@ -113,7 +113,7 @@ protected void configureServlets() {
}
private static void setupQueueConfiguration(
CapacitySchedulerConfiguration config, ResourceManager resourceManager) {
CapacitySchedulerConfiguration config) {
// Define top-level queues
config.setQueues(CapacitySchedulerConfiguration.ROOT,