Details
Description
We introduced fairness queue policy since YARN-3319, which will let large applications make progresses and not starve small applications. However, if a large application takes the queue’s resources, and containers of the large app has long lifespan, small applications could still wait for resources for long time and SLAs cannot be guaranteed.
Instead of wait for application release resources on their own, we need to preempt resources of queue with fairness policy enabled.