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

(cherry picked from commit 0af492b4bd)
This commit is contained in:
Karthik Kambatla 2015-12-23 17:52:36 -08:00
parent a98887d8b5
commit 2f67645475
2 changed files with 7 additions and 2 deletions

View File

@ -22,8 +22,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 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);
}