This JIRA consolidates the efforts of YARN-5468 and YARN-4902.
It adds support for rich placement constraints to YARN, such as affinity and anti-affinity between allocations within the same or across applications.
Support placement policy in yarn native services
Support placement policy in yarn service
Scheduling of long-running applications
Update AppSchedulingInfo to use SchedulingPlacementSet
Improvements to Rich Placement Constraints in YARN