YARN-3247. TestQueueMappings should use CapacityScheduler explicitly. Contributed by Zhihai Xu.

This commit is contained in:
Tsuyoshi Ozawa 2015-02-25 10:34:28 +09:00
parent 1a625b8158
commit 6cbd9f1113
2 changed files with 5 additions and 0 deletions

View File

@ -652,6 +652,9 @@ Release 2.7.0 - UNRELEASED
YARN-3238. Connection timeouts to nodemanagers are retried at YARN-3238. Connection timeouts to nodemanagers are retried at
multiple levels (Jason Lowe via xgong) multiple levels (Jason Lowe via xgong)
YARN-3247. TestQueueMappings should use CapacityScheduler explicitly.
(Zhihai Xu via ozawa)
Release 2.6.0 - 2014-11-18 Release 2.6.0 - 2014-11-18
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -135,6 +135,8 @@ public class TestQueueMappings {
checkQMapping("a", Q1, cs); checkQMapping("a", Q1, cs);
csConf = new CapacitySchedulerConfiguration(); csConf = new CapacitySchedulerConfiguration();
csConf.set(YarnConfiguration.RM_SCHEDULER,
CapacityScheduler.class.getName());
setupQueueConfiguration(csConf); setupQueueConfiguration(csConf);
conf = new YarnConfiguration(csConf); conf = new YarnConfiguration(csConf);