YARN-4156. TestAMRestart#testAMBlacklistPreventsRestartOnSameNode assumes CapacityScheduler. (Anubhav Dhoot via kasha)
This commit is contained in:
parent
8b1837fcd1
commit
0af492b4bd
@ -80,6 +80,9 @@ Release 2.9.0 - UNRELEASED
|
|||||||
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
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -382,6 +382,8 @@ public void testNMTokensRebindOnAMRestart() throws Exception {
|
|||||||
@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
Block a user