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 "Eric Badger (JIRA)" <ji...@apache.org> on 2019/05/16 16:35:00 UTC
[jira] [Updated] (YARN-9560) Restructure
DockerLinuxContainerRuntime to extend a new OCIContainerRuntime
[ https://issues.apache.org/jira/browse/YARN-9560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Badger updated YARN-9560:
------------------------------
Description:
Since the new OCI/squashFS/runc runtime will be using a lot of the same code as DockerLinuxContainerRuntime, it would be good to move a bunch of the DockerLinuxContainerRuntime code up a level to an abstract class that both of the runtimes can extend.
The new structure will look like:
{noformat}
OCIContainerRuntime (abstract class)
- DockerLinuxContainerRuntime
- FSImageContainerRuntime (name negotiable)
{noformat}
This JIRA should only change the structure of the code, not the actual semantics
was:
Since the new OCI/squashFS/runc runtime will be using a lot of the same code as DockerLinuxContainerRuntime, it would be good to move a bunch of the DockerLinuxContainerRuntime code up a level to an abstract class that both of the runtimes can extend.
The new structure will look like:
{noformat}
OCIContainerRuntime (abstract class)
- DockerLinuxContainerRuntime
- FSImageContainerRuntime (name negotiable)
{noformat}
> Restructure DockerLinuxContainerRuntime to extend a new OCIContainerRuntime
> ---------------------------------------------------------------------------
>
> Key: YARN-9560
> URL: https://issues.apache.org/jira/browse/YARN-9560
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Eric Badger
> Assignee: Eric Badger
> Priority: Major
>
> Since the new OCI/squashFS/runc runtime will be using a lot of the same code as DockerLinuxContainerRuntime, it would be good to move a bunch of the DockerLinuxContainerRuntime code up a level to an abstract class that both of the runtimes can extend.
> The new structure will look like:
> {noformat}
> OCIContainerRuntime (abstract class)
> - DockerLinuxContainerRuntime
> - FSImageContainerRuntime (name negotiable)
> {noformat}
> This JIRA should only change the structure of the code, not the actual semantics
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org