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

Matthew Sharp commented on YARN-10493:
--------------------------------------

I looked at YARN-10494 (CLI Tool) design and that was the missing piece.  I 
originally included a static directory you can set for a single namespace 
(defaults to library if you don't).  But the CLI tool design pdf and your usage 
example makes more sense, to make that user configurable and only default to a 
namespace if that is not provided.  I can work on an update to support that and 
also add to the pdf design to make that more clear.

 

YARN_CONTAINER_RUNTIME_RUNC_IMAGE=[namespace]/<image>[:tag]

 

Examples:
{code:java}
YARN_CONTAINER_RUNTIME_RUNC_IMAGE=busybox

/runc-root/meta/library/busybox@latest.properties{code}
 
{code:java}
YARN_CONTAINER_RUNTIME_RUNC_IMAGE=hadoop/busybox:latest 

/runc-root/meta/hadoop/busybox@latest.properties
{code}
 

 
{code:java}
YARN_CONTAINER_RUNTIME_RUNC_IMAGE=shared/busybox:1.0.0

/runc-root/meta/shared/busybox@1.0.0.properties
{code}
 

> RunC container repository v2
> ----------------------------
>
>                 Key: YARN-10493
>                 URL: https://issues.apache.org/jira/browse/YARN-10493
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, yarn
>    Affects Versions: 3.3.0
>            Reporter: Craig Condit
>            Assignee: Matthew Sharp
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: runc-container-repository-v2-design.pdf
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The current runc container repository design has scalability and usability 
> issues which will likely limit widespread adoption. We should address this 
> with a new, V2 layout.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to