[
https://issues.apache.org/jira/browse/YARN-7617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16290729#comment-16290729
]
Weiwei Yang commented on YARN-7617:
-----------------------------------
Since the patch is only adding a flag to distributed shell, no UT added. This
can be easily verified on a cluster, I've done so on my cluster. Run following
command,
{code}
/bin/yarn org.apache.hadoop.yarn.applications.distributedshell.Client -jar
share/hadoop/yarn/hadoop-yarn-applications-distributedshell-3.1.0-SNAPSHOT.jar
-shell_command sleep -shell_args 100 -num_containers 20 -master_memory 200
-container_memory 200 -container_type OPPORTUNISTIC
-promote_opportunistic_after_start
{code}
check container states from NM UI, see screenshot [^promote_containers.jpg].
> Add a flag in distributed shell to automatically PROMOTE opportunistic
> containers to guaranteed once they are started
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: YARN-7617
> URL: https://issues.apache.org/jira/browse/YARN-7617
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: applications/distributed-shell
> Affects Versions: 2.9.0
> Reporter: Weiwei Yang
> Assignee: Weiwei Yang
> Priority: Minor
> Attachments: YARN-7617.001.patch, promote_containers.jpg
>
>
> Per discussion in YARN-7610, it would be good to add such a flag, e.g
> {{promote_opportunistic_after_start}}. This is for the purpose of
> demonstrating how container promotion works.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]