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

Wangda Tan commented on YARN-7745:
----------------------------------

Patch looks good, +1, will commit in a couple of hours in case anybody else has 
comments.

It looks this patch doesn't have any test, [~asuresh] could you file a 
follow-up patch to add e2e tests for placement constraints.

> Allow DistributedShell to take a placement specification for containers it 
> wants to launch
> ------------------------------------------------------------------------------------------
>
>                 Key: YARN-7745
>                 URL: https://issues.apache.org/jira/browse/YARN-7745
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>            Priority: Major
>         Attachments: YARN-7745-YARN-6592.001.patch
>
>
> This is add a '-placement_spec' option to the distributed shell client. Where 
> the user can specify a string-ified specification for how it wants containers 
> to be placed.
> For eg:
> {noformat}
> $ yarn org.apache.hadoop.yarn.applications.distributedshell.Client –jar \
> $YARN_DS/hadoop-yarn-applications-distributedshell-$YARN_VERSION.jar \
>  -shell_command sleep -shell_args 10 -placement_spec <placementspecification>
> {noformat}



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