hadoop-yarn-issues mailing list archives

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

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

Wangda Tan commented on YARN-5221:

Thanks [~asuresh],

A couple of comments, haven't reviewed test code yet:

1) How to handle container version mismatch issue or other issues which cause update failure?
Now in the patch some are reported to AM as exception, some are silently recorded in RM's
log, should we add a new list to AllocateResponse to let client know about failed-to-update

2) org.apache.hadoop.yarn.server.resourcemanager.scheduler.Allocation: should we merge increase/decrease
container list?

3) getVersion of Container should be @Public/Unstable? Will it be used by end user? Probably
it's better to make it to be long to avoid future changes. (Like we need sparsity in version

4) For UpdateContainerRequest, should we document following behaviors:
- Can we update multiple fields of container at the same time?
- What happened if we send two different update request for the same container? (First one
increased container size, and second one update execution type)

5) Even though ContainerTokenIdentifier is evolving API, we can break it bylaw. But it's better
to avoid changing the API as much as possible.

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

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message