Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.1.1
-
None
-
Reviewed
Description
In FSPreemptionThread#identifyContainersToPreempt method, I suggest if AM preemption, and locality relaxation is allowed, then the search space is expanded to all nodes changed to the remaining nodes. The remaining nodes are equal to all nodes minus the potential nodes.
Judging condition changed to:
- rr.getRelaxLocality()
- !ResourceRequest.isAnyLocation(rr.getResourceName())
- bestContainers != null
- bestContainers.numAMContainers > 0
If I understand the deviation, please criticize me. thx~