[
https://issues.apache.org/jira/browse/YARN-8160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441414#comment-16441414
]
Chandni Singh edited comment on YARN-8160 at 8/1/18 12:29 AM:
--------------------------------------------------------------
We do need to build a new CLC because upgrade lets user modify the
artifacts/env/configs of their service. Likely scenario is that the version of
the component (docker based) changed. I haven't tested with a docker based app,
but I think this re-init should work seamlessly in the docker case. If it
doesn't then that would be a bug.
I don't clearly understand [~eyang]'s comments on the improvement that is being
proposed.
was (Author: csingh):
I looked at the {{ContainerImpl}} code and I think re-init already uses the
re-launch logic.
As [[email protected]] pointed out, re-init first will deactivate the
existing container then do a relaunch with a new {{ContainerLaunchContext}}.
We do need to build a new CLC because upgrade lets user modify the
artifacts/env/configs of their service. Likely scenario is that the version of
the component (docker based) changed. I haven't tested with a docker based app,
but I think this re-init should work seamlessly in the docker case. If it
doesn't then that would be a bug.
I don't clearly understand [~eyang]'s comments on the improvement that is being
proposed.
> Yarn Service Upgrade: Support upgrade of service that use docker containers
> ----------------------------------------------------------------------------
>
> Key: YARN-8160
> URL: https://issues.apache.org/jira/browse/YARN-8160
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Chandni Singh
> Assignee: Chandni Singh
> Priority: Major
> Labels: Docker
>
> Ability to upgrade dockerized yarn native services.
> Ref: YARN-5637
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]