[ 
https://issues.apache.org/jira/browse/YARN-7838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16364039#comment-16364039
 ] 

Arun Suresh commented on YARN-7838:
-----------------------------------

[~leftnoteasy], can we consider this for 3.1.0 ? Don't think this is really a 
disruptive change, and it is a useful inclusion, especially for demo purposes. 
Also note the constraint checker changes, implemented in YARN-7822, will anyway 
be available in 3.1.0 and will not be testable/demo-able until 3.1.x

> Support AND/OR constraints in Distributed Shell
> -----------------------------------------------
>
>                 Key: YARN-7838
>                 URL: https://issues.apache.org/jira/browse/YARN-7838
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: distributed-shell
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Critical
>              Labels: constraints
>             Fix For: 3.2.0
>
>         Attachments: YARN-7838.001.patch, YARN-7838.002.patch, 
> YARN-7838.003.patch, YARN-7838.prelim.patch
>
>
> Extending DS placement spec syntax to support AND/OR constraints, something 
> like
> {code}
> // simple
> -placement_spec foo=4,AND(NOTIN,NODE,foo:NOTIN,NODE,bar)
> // nested
> -placement_spec foo=4,AND(NOTIN,NODE,foo:OR(IN,NODE,moo:IN,NODE,bar))
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to