[
https://issues.apache.org/jira/browse/YARN-5221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322073#comment-15322073
]
Arun Suresh commented on YARN-5221:
-----------------------------------
As per discussions with [~leftnoteasy], [~vinodkv], [~kasha] and [~subru] :
This JIRA proposes the following :
* Introduce a new container {{version}} field to {{Container}}
* Introduce an {{UpdateContainerRequest}} record that consists of
** current container version
** container Id
** new capability
** new execution type
* Remove the {{increase_requests}} and {{decrease_requests}} lists in the
{{AllocateRequest}} and replace with {{update_requests}} which is a list of
{{UpdateContainerRequest}} records
* Remove the {{increased_containers}} and {{decreases_containers}} lists in the
{{AllocateResponse}} and replace with {{updated_containers}} which is a list
{{Container}} records. The containers whose update requests are satisfied by
the RM will be returned with the container {{version}} incremented.
> Expose UpdateResourceRequest API to allow AM to request for change in
> container properties
> ------------------------------------------------------------------------------------------
>
> Key: YARN-5221
> URL: https://issues.apache.org/jira/browse/YARN-5221
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Arun Suresh
> Assignee: Arun Suresh
>
> YARN-1197 introduced APIs to allow an AM to request for Increase and Decrease
> of Container Resources after initial allocation.
> YARN-5085 proposes to allow an AM to request for a change of Container
> ExecutionType.
> This JIRA proposes to unify both of the above into an Update Container API.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]