[
https://issues.apache.org/jira/browse/YARN-5085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15285972#comment-15285972
]
Arun Suresh commented on YARN-5085:
-----------------------------------
bq. AM be able to change the type in a previous ResourceRequest ?
So.. we are proposing that the AM be allowed to ask the RM for a change in
ExecutionType. The RM can choose to deny it.
bq. Or, modifying the execution type of a running container ?
I guess there a Request can be one of the following states :
# Outstanding : Where a Container has not yet been allocated
# Allocated : Container has been allocated but AM has not called startContainer
# Running
So I guess in case 1, If the AM wants a different container type, It should
probably make another request, and cancel the first one when it arrives, In
case 2 and 3, the AM uses the containerId to request the RM to upgrade the
container Type, at which point the RM can based on constraints can deny or
allow it. In case 3, the RM can instruct the NM to upgrade the container via
heartbeat response.
bq. I see the need for a promotion, why would we want to demote? Will that be
to continue running even after being preempted?
Yup... I do not see a specific usecase either, but wanted to keep the option
open.. since if we do find a reason later, that would require an API change ?
> Add support for change of container ExecutionType
> -------------------------------------------------
>
> Key: YARN-5085
> URL: https://issues.apache.org/jira/browse/YARN-5085
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Arun Suresh
> Assignee: Arun Suresh
>
> YARN-2882 introduced the concept of {{ExecutionType}} for containers and it
> also introduced the concept of OPPORTUNISTIC ExecutionType.
> YARN-4335 introduced changes to the ResourceRequest so that AMs may request
> that the Container allocated against the ResourceRequest is of a particular
> {{ExecutionType}}.
> This JIRA proposes to provide support for the AM to change the ExecutionType
> of a previously requested Container.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]