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

MENG DING commented on YARN-4175:
---------------------------------

Correct a typo in the previous post. It should be {{app_id}} instead of 
{{application_id}}

\\
* once the application has started, user can start a new client and specify the 
*appmaster* option to set the client to the appmaster mode. Under this mode, 
the client will talk directly with appmaster, and user can specify *app_id*, 
*container_id*, *action*, *container_memory*, *container_vcores* options to 
request container resizing. For example, to change a container resource, the 
user can do:
{code}
hadoop org.apache.hadoop.yarn.applications.distributedshell.Client -appmaster 
-app_id=<app_id> -container_id=<container_id> -action=CHANGE_CONTAINER 
-container_memory=2048 -container_vcores=1
{code}

> Example of use YARN-1197
> ------------------------
>
>                 Key: YARN-4175
>                 URL: https://issues.apache.org/jira/browse/YARN-4175
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api, nodemanager, resourcemanager
>            Reporter: Wangda Tan
>            Assignee: MENG DING
>         Attachments: YARN-4175.1.patch, YARN-4175.2.patch
>
>
> Like YARN-2609, we need a example program to demonstrate how to use YARN-1197 
> from end-to-end.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to