[ 
https://issues.apache.org/jira/browse/YARN-7610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated YARN-7610:
------------------------------
    Attachment: added_doc.png
                outline_compare.png

v2 patch contains following updates

# Rename {{OpportunisticContainers.md}} to {{OpportunisticContainers.md.vm}} so 
that we can get rid of the hard coded versions. They are now replaced by 
{{$\{project.version\}}}.
# Replace <a> refs in this doc and replace by markdown syntax, without this 
change, the outline of the page will be messed up since it was renamed to md.vm.
# Added a section under {{Running a Sample Job}} to introduce how to run 
distributed shell job with specified type of containers.

I have verified this doc change locally with {{mvn site}}, 
[^outline_compare.png] compares the outline before and after the patch, 
[^added_doc.png] illustrates the section I added.

YARN-7617 was created as the followup on the flag for prompting containers. 
[~asuresh] please help to review.

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, YARN-7610.002.patch, added_doc.png, 
> outline_compare.png
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to