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

@ -77,8 +77,11 @@ Release 2.9.0 - UNRELEASED
BUG FIXES
YARN-4109. Exception on RM scheduler page loading with labels.
(Mohammad Shahid Khan via rohithsharmaks)
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

View File

@ -382,6 +382,8 @@ public void testNMTokensRebindOnAMRestart() throws Exception {
@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);
}