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

Weiwei Yang commented on YARN-7610:
-----------------------------------

Hi [~asuresh]

bq. Can you also update the doc as well ?

Sure, I will add some doc to {{OpportunisticContainers.md}} in next patch.

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

I am perfectly OK with this, by adding another tag, e.g 
{{container_prompt_on_start=true}}, default value is false. But if possible can 
we track this in another JIRA as it is less important, I want to get this 
committed ASAP so rest of my team member can easily try out.

Please let me know your thoughts, thanks.

> 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