[ https://issues.apache.org/jira/browse/YARN-5478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947674#comment-15947674 ]
Naganarasimha G R commented on YARN-5478: ----------------------------------------- Had offline discussion with the above two points with [~leftnoteasy], And as per it : # If the node attribute expression is placed in {{affinityTargets}} then nodes satisfying the node attribute expression will be selected and if placed in {{antiAffinityTargets}} nodes *not* satisfying the node attribute expression will be selected. And advantage is, we can have combinations of node label expression, like delayed-or(placement-strategy-1, placement-strategy-2), different placement-strategy has different node attribute expression. # *PlacementStrategy* if it has scope as *RACK* and Node attribute affinity target, then we can throw an exception not accept the RR. > [YARN-4902] Define Java API for generalized & unified scheduling-strategies. > ---------------------------------------------------------------------------- > > Key: YARN-5478 > URL: https://issues.apache.org/jira/browse/YARN-5478 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Wangda Tan > Assignee: Wangda Tan > Attachments: YARN-5478.1.patch, YARN-5478.2.patch, > YARN-5478.preliminary-poc.1.patch, YARN-5478.preliminary-poc.2.patch > > > Define Java API for application to specify generic scheduling requirements > described in YARN-4902 design doc. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org