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

Arun Suresh edited comment on YARN-5620 at 9/14/16 6:13 AM:
------------------------------------------------------------

[~jianhe], I intentionally wanted to keep the _merge_ function as a static 
utility function. I would prefer not adding a new constructor... Also, if you 
notice in the _KilledExternallyForReInitTransition_ we use this function to 
merge the existing ResourceSet and upgraded ResourceSet and set the value of 
container.resourceSet to the merged RS.
I can change it if your are particular... but would prefer to keep it as such.


was (Author: asuresh):
[~jianhe], I intentionally wanted to keep the _merge_ function as a static 
utility function. I would prefer not adding a new constructor.. if you are ok 
with it.

> Core changes in NodeManager to support re-initialization of Containers with 
> new launchContext
> ---------------------------------------------------------------------------------------------
>
>                 Key: YARN-5620
>                 URL: https://issues.apache.org/jira/browse/YARN-5620
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>         Attachments: YARN-5620.001.patch, YARN-5620.002.patch, 
> YARN-5620.003.patch, YARN-5620.004.patch, YARN-5620.005.patch, 
> YARN-5620.006.patch, YARN-5620.007.patch, YARN-5620.008.patch, 
> YARN-5620.009.patch, YARN-5620.010.patch, YARN-5620.011.patch, 
> YARN-5620.012.patch, YARN-5620.013.patch, YARN-5620.014.patch, 
> YARN-5620.015.patch
>
>
> JIRA proposes to modify the ContainerManager (and other core classes) to 
> support upgrade of a running container with a new {{ContainerLaunchContext}} 
> as well as the ability to rollback the upgrade if the container is not able 
> to restart using the new launch Context. 



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