Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha4, 2.9.1
-
None
-
Reviewed
Description
Currently in async-scheduling mode of CapacityScheduler, node resource may be over-allocated since node resource check is ignored.
FiCaSchedulerApp#commonCheckContainerAllocation will check whether this node have enough available resource for this proposal and return check result (ture/false), but this result is ignored in CapacityScheduler#accept as below.
commonCheckContainerAllocation(allocation, schedulerContainer);
If FiCaSchedulerApp#commonCheckContainerAllocation returns false, CapacityScheduler#accept should also return false as below:
if (!commonCheckContainerAllocation(allocation, schedulerContainer)) { return false; }