YARN-10558. Fix failure of TestDistributedShell#testDSShellWithOpportunisticContainers. (#2586)
This commit is contained in:
parent
77299ae992
commit
5abeecd33f
@ -212,6 +212,8 @@ private void setupInternal(int numNodeManager, float timelineVersion,
|
|||||||
true);
|
true);
|
||||||
conf.setBoolean(
|
conf.setBoolean(
|
||||||
YarnConfiguration.OPPORTUNISTIC_CONTAINER_ALLOCATION_ENABLED, true);
|
YarnConfiguration.OPPORTUNISTIC_CONTAINER_ALLOCATION_ENABLED, true);
|
||||||
|
conf.setInt(YarnConfiguration.NM_OPPORTUNISTIC_CONTAINERS_MAX_QUEUE_LENGTH,
|
||||||
|
10);
|
||||||
conf.set(YarnConfiguration.RM_PLACEMENT_CONSTRAINTS_HANDLER,
|
conf.set(YarnConfiguration.RM_PLACEMENT_CONSTRAINTS_HANDLER,
|
||||||
YarnConfiguration.PROCESSOR_RM_PLACEMENT_CONSTRAINTS_HANDLER);
|
YarnConfiguration.PROCESSOR_RM_PLACEMENT_CONSTRAINTS_HANDLER);
|
||||||
// ATS version specific settings
|
// ATS version specific settings
|
||||||
|
Loading…
Reference in New Issue
Block a user