Class SingleConstraintAppPlacementAllocator<N extends SchedulerNode>

java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.placement.AppPlacementAllocator<N>
org.apache.hadoop.yarn.server.resourcemanager.scheduler.placement.SingleConstraintAppPlacementAllocator<N>

public class SingleConstraintAppPlacementAllocator<N extends SchedulerNode> extends AppPlacementAllocator<N>
This is a simple implementation to do affinity or anti-affinity for inter/intra apps.