Weiwei Yang created YARN-7610:
---------------------------------

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


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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to