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

Weiwei Yang commented on YARN-7617:
-----------------------------------

Hi [~asuresh]

I can revise the patch as you commented, but want to make sure I understand 
your point correctly

bq. We still havn't exposed a proper API to update Container in the 
NMClient/NMClientAsync (we only have updateContainerResource).

What do you mean you haven't exposed a proper API to update a container giving 
{{NMClientAsync#updateContainerResourceAsync}} is working? Do you mean this is 
not the finalized API that might be modified in feature?

bq. we should also mention in the doc that the AM will only 'attempt' to 
promote the container (promotion is subject to availability of actual resources 
on the node)

Agree, I will add this in the doc.

Thanks

> 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]

Reply via email to