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

Weiwei Yang commented on YARN-7142:
-----------------------------------

Hi [~gsaha]/[~leftnoteasy]

Thanks for backing port this to branch-3.1. Not related to this task, I have a 
question about the format of placement policy in yaml file. It looks like it is 
more like an interpretation of how we specify placement constraints using Java 
API. I think we should be able to support a simple PC language, by specifying 
something like:

{code}

notin,node,foo

{code}

see more in [^Placement Constraint Expression Syntax Specification.pdf], 
YARN-7921. I know this is only used distributed shell as a demo, but I think if 
we find this more easier to write, maybe we can use such expression here too? 
Just want to know your opinion.

Thanks

> Support placement policy in yarn native services
> ------------------------------------------------
>
>                 Key: YARN-7142
>                 URL: https://issues.apache.org/jira/browse/YARN-7142
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn-native-services
>            Reporter: Billie Rinaldi
>            Assignee: Gour Saha
>            Priority: Major
>             Fix For: 3.2.0
>
>         Attachments: YARN-7142-branch-3.1.004.patch, YARN-7142.001.patch, 
> YARN-7142.002.patch, YARN-7142.003.patch, YARN-7142.004.patch
>
>
> Placement policy exists in the API but is not implemented yet.
> I have filed YARN-8074 to move the composite constraints implementation out 
> of this phase-1 implementation of placement policy.



--
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