YARN-4156. TestAMRestart#testAMBlacklistPreventsRestartOnSameNode assumes CapacityScheduler. (Anubhav Dhoot via kasha)

This commit is contained in:
Karthik Kambatla 2015-12-23 17:52:36 -08:00
parent 8b1837fcd1
commit 0af492b4bd
2 changed files with 7 additions and 2 deletions

View File

@ -80,6 +80,9 @@ Release 2.9.0 - UNRELEASED
YARN-4109. Exception on RM scheduler page loading with labels.
(Mohammad Shahid Khan via rohithsharmaks)
YARN-4156. TestAMRestart#testAMBlacklistPreventsRestartOnSameNode
assumes CapacityScheduler. (Anubhav Dhoot via kasha)
Release 2.8.0 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -382,6 +382,8 @@ public class TestAMRestart {
@Test(timeout = 100000)
public void testAMBlacklistPreventsRestartOnSameNode() throws Exception {
YarnConfiguration conf = new YarnConfiguration();
conf.setClass(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class,
ResourceScheduler.class);
conf.setBoolean(YarnConfiguration.AM_BLACKLISTING_ENABLED, true);
testAMBlacklistPreventRestartOnSameNode(false, conf);
}