You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Arun Suresh (JIRA)" <ji...@apache.org> on 2017/01/02 00:59:58 UTC

[jira] [Updated] (YARN-5959) RM changes to support change of container ExecutionType

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

Arun Suresh updated YARN-5959:
------------------------------
    Attachment: YARN-5959-YARN-5985.001.patch

Updating patch.

* The container increase and decreases accounting has been moved to the {{AppSchedulingInfo}}.
* To isolate the update code path (and to make it easier to review), i've created a {{ContainerUpdateContext}} which is field of the {{AppSchedulingInfo}}. It also encapsulates the datastructures used for accounting the container increase and decrease.

The new functionality can be used for both ExecutionType Promotion/Demotion as well as Container resource Increase/Decrease. I have currently just hooked it to the ExecutionType promote and demote. I feel we should raise another JIRA to work on removing the existing container increase/decrease code-path and move it to using the new ContainerUpdateContext.

As with the previous patches, the basic principle is the same.. new ResourceRequests are created for container increases, but these are created internally in the {{AppSchedulingInfo}}

[~leftnoteasy], do give it a look.



> RM changes to support change of container ExecutionType
> -------------------------------------------------------
>
>                 Key: YARN-5959
>                 URL: https://issues.apache.org/jira/browse/YARN-5959
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>         Attachments: YARN-5959-YARN-5985.001.patch, YARN-5959.combined.001.patch, YARN-5959.wip.002.patch, YARN-5959.wip.003.patch, YARN-5959.wip.patch
>
>
> RM side changes to allow an AM to ask for change of ExecutionType.
> Currently, there are two cases:
> # *Promotion* : OPPORTUNISTIC to GUARANTEED.
> # *Demotion* : GUARANTEED to OPPORTUNISTIC.
> This is similar in YARN-1197 which allows for change in Container resources. 



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