hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-5221) Expose UpdateResourceRequest API to allow AM to request for change in container properties
Date Thu, 23 Jun 2016 00:42:16 GMT

     [ https://issues.apache.org/jira/browse/YARN-5221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arun Suresh updated YARN-5221:
------------------------------
    Attachment: YARN-5221.005.patch

Uploading patch addressing [~leftnoteasy]'s review comments.

Please note a couple of changes:
# The container version is now plumbed all the way to the NMStateStore and NMConatinerStatus.
This is needed for when RM failover happens, it needs to get the current version of the container
as well.
# The current behavior is (I have documented this in UpdateContainerRequest class):
## *Currently* only either Resource or ExecutionType update can be requested in 1 update request.
## The AM has to wait for an earlier update container request to be satisfied by the RM before
it can ask for another update. Essentially, updates have to be serializable.
# If the Update container request is not satisfiable (due to incorrect container version /
or if there is already an outstanding update), it will be notified as an {{UpdateContainerError}}
to the AM in the AllocateResponse. It will contain the original {{UpdateContainerRequest}}
and the reason why it was not accepted.



> 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
>         Attachments: YARN-5221.001.patch, YARN-5221.002.patch, YARN-5221.003.patch, YARN-5221.004.patch,
YARN-5221.005.patch
>
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message