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 "Chandni Singh (JIRA)" <ji...@apache.org> on 2019/03/12 20:59:00 UTC

[jira] [Commented] (YARN-9378) Create Image Localizer

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

Chandni Singh commented on YARN-9378:
-------------------------------------

[~eyang] I attached the patch in which I had created an ImageLocalizer that executes the DockerImagePull command.
The reason I didn't integrate DockerImagePull command with LinuxContainerExecutor is because that API is tied to Containers but this command is independent of containers. 

Please take a look at {{ImageLocalizer.java}} class and these methods
- findLocalImages() 
- ImageStatusRetriever.run()

Let me know your thoughts. 


> Create Image Localizer
> ----------------------
>
>                 Key: YARN-9378
>                 URL: https://issues.apache.org/jira/browse/YARN-9378
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Chandni Singh
>            Assignee: Chandni Singh
>            Priority: Major
>         Attachments: YARN-9378.001.patch
>
>
> {{LinuxContainerExecutor}} is for container operations. DockerImagesCommand is independent of any container. The image localizer acts as a service that will localize docker images and maintain an image cache. Other components can use this to query about the images on the node.



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