YARN-8896. Limit the maximum number of container assignments per heartbeat. (Zhankun Tang via wangda)
Change-Id: I6e72f8362bd7f5c2a844cb9e3c4732492314e9f1 (cherry picked from commit780be14f07
) (cherry picked from commit46baafedf1
)
This commit is contained in:
parent
01f76b4f45
commit
d18ec19ed8
|
@ -328,8 +328,11 @@ public class CapacitySchedulerConfiguration extends ReservationSchedulerConfigur
|
|||
public static final String MAX_ASSIGN_PER_HEARTBEAT = PREFIX
|
||||
+ "per-node-heartbeat.maximum-container-assignments";
|
||||
|
||||
/**
|
||||
* Avoid potential risk that greedy assign multiple may involve
|
||||
* */
|
||||
@Private
|
||||
public static final int DEFAULT_MAX_ASSIGN_PER_HEARTBEAT = -1;
|
||||
public static final int DEFAULT_MAX_ASSIGN_PER_HEARTBEAT = 100;
|
||||
|
||||
AppPriorityACLConfigurationParser priorityACLConfig = new AppPriorityACLConfigurationParser();
|
||||
|
||||
|
|
Loading…
Reference in New Issue