YARN-4156. TestAMRestart#testAMBlacklistPreventsRestartOnSameNode assumes CapacityScheduler. (Anubhav Dhoot via kasha)
(cherry picked from commit 0af492b4bd
)
This commit is contained in:
parent
a98887d8b5
commit
2f67645475
|
@ -22,8 +22,11 @@ Release 2.9.0 - UNRELEASED
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
||||||
YARN-4109. Exception on RM scheduler page loading with labels.
|
YARN-4109. Exception on RM scheduler page loading with labels.
|
||||||
(Mohammad Shahid Khan via rohithsharmaks)
|
(Mohammad Shahid Khan via rohithsharmaks)
|
||||||
|
|
||||||
|
YARN-4156. TestAMRestart#testAMBlacklistPreventsRestartOnSameNode
|
||||||
|
assumes CapacityScheduler. (Anubhav Dhoot via kasha)
|
||||||
|
|
||||||
Release 2.8.0 - UNRELEASED
|
Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
|
|
|
@ -382,6 +382,8 @@ public class TestAMRestart {
|
||||||
@Test(timeout = 100000)
|
@Test(timeout = 100000)
|
||||||
public void testAMBlacklistPreventsRestartOnSameNode() throws Exception {
|
public void testAMBlacklistPreventsRestartOnSameNode() throws Exception {
|
||||||
YarnConfiguration conf = new YarnConfiguration();
|
YarnConfiguration conf = new YarnConfiguration();
|
||||||
|
conf.setClass(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class,
|
||||||
|
ResourceScheduler.class);
|
||||||
conf.setBoolean(YarnConfiguration.AM_BLACKLISTING_ENABLED, true);
|
conf.setBoolean(YarnConfiguration.AM_BLACKLISTING_ENABLED, true);
|
||||||
testAMBlacklistPreventRestartOnSameNode(false, conf);
|
testAMBlacklistPreventRestartOnSameNode(false, conf);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue