Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
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
$./bin/yarn org.apache.hadoop.yarn.applications.distributedshell.Client -container_type <arg> Container execution type, GUARANTEED or OPPORTUNISTIC
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.