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

Eric Yang commented on YARN-9562:
---------------------------------

{quote}I'm open to changing this. What do you have in mind for subclassing 
instead?{quote}

Runc data structure is based on [OCI 
runtime-spec|https://github.com/opencontainers/runtime-spec/blob/master/spec.md],
 maybe we call it RuntimeSpec?

{quote}Those are things that we will probably want to add on in the future (as 
we have with Docker), but I think they are beyond the scope of this JIRA.{quote}

Correct me if I am mistaken.  I see devices management similar to container 
image management or seccomp profile.  The java code is serializing bits and 
pieces of RuntimeSpec.  Maybe there is a way to provide hooks for devices using 
the same style of plugins to generate correct output.  If it can be added later 
without breaking the interface.  That is fine too.

> Add Java changes for the new RuncContainerRuntime
> -------------------------------------------------
>
>                 Key: YARN-9562
>                 URL: https://issues.apache.org/jira/browse/YARN-9562
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Eric Badger
>            Assignee: Eric Badger
>            Priority: Major
>         Attachments: YARN-9562.001.patch, YARN-9562.002.patch
>
>
> This JIRA will be used to add the Java changes for the new 
> RuncContainerRuntime. This will work off of YARN-9560 to use much of the 
> existing DockerLinuxContainerRuntime code once it is moved up into an 
> abstract class that can be extended. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to