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

Arun Suresh commented on YARN-7610:
-----------------------------------

Thanks for taking a stab at this [~cheersyang].. Much appreciated!!
Couple of comments:
* Can you also update the doc as well ?
* I was also hoping to demonstrate container promotion as well. I was thinking 
to add a flag to promote opportunistic containers. If the flag is enabled, the 
distributed shell AM will first ask for opp containers like you have done in 
the patch, and once it starts, the AM will send an update request to the RM to 
promote the containers to guaranteed.



> Extend Distributed Shell to support launching job with opportunistic 
> containers
> -------------------------------------------------------------------------------
>
>                 Key: YARN-7610
>                 URL: https://issues.apache.org/jira/browse/YARN-7610
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: applications/distributed-shell
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>         Attachments: YARN-7610.001.patch
>
>
> Per doc in 
> [https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/OpportunisticContainers.html#Running_a_Sample_Job],
>  user can run some of PI job mappers as O containers. Similarly, propose to 
> extend distributed shell to support specifying the container type, it will be 
> very helpful for testing. Propose to add following argument
> {code}
> $./bin/yarn org.apache.hadoop.yarn.applications.distributedshell.Client
> -container_type <arg>                          Container execution type,
>                                                 GUARANTEED or
>                                                 OPPORTUNISTIC
> {code}
> Implication: all containers in a distributed shell job will be launching as 
> user-specified container type (except for AM), if not given, default type is 
> {{GUARANTEED}}. AM is always launched as {{GUARANTEED}} container.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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