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:
- bestContainers != null
- bestContainers.numAMContainers > 0
If I understand the deviation, please criticize me. thx~