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

Konstantinos Karanasos commented on YARN-5085:
----------------------------------------------

[~kasha], some more thoughts about the important points you brought up...

bq. Shouldn't the latter be solely at the discretion of RM/NM ensemble
I think the AM should always be able to request a change in the ExecutionType 
of its containers. This should be the case for containers at any stage of their 
execution, like [~asuresh] mentions.
Later, we might want to explore the "automatic" ExecutionType change by the 
NM/RM, as you mention, but that should not block us from explicitly asking for 
it through the AM.

bq. I see the need for a promotion, why would we want to demote?
I think it is better to keep the API more general in case we introduce more 
container types, especially if those don't have a strict hierarchy. As an 
example, we could have preemptable and non-preemptable OPPORTUNISTIC 
containers. In this case, we might want to change across container types, but 
that would not be a clear promotion.
However, I agree that we should initially disallow changing container type from 
GUARANTEED to OPPORTUNISTIC, as it is not clear what the behavior of such a 
change would be.

Makes sense?

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

Reply via email to