YARN-2498: YARN-2498 addressed the problem of non-exclusive container preemption in inter-queue level. When a queue over-satisfied on a given partition, ignore_partition_exclusivity containers will be preempted first.
But it is possible that when a queue is under its guaranteed resource, there's pending resources for a given partition, and resources being used by ignore_partition_exclusivity containers. For example:
- App1/App2 in queue-A, app1 wants 30 partition=x containers and app2 uses 30 partition=x ignore_partition-exclusivity containers. It is possible we need reclaim resource from app2 for partition=x.