[ https://issues.apache.org/jira/browse/YARN-3854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387946#comment-15387946 ]
Daniel Templeton commented on YARN-3854: ---------------------------------------- bq. My concern here is that it's not easy to control explicit docker pull because there seems no interface for us to check the progress or pause/cancel the pull process currently. As far as I can tell, the {{docker pull}} CLI gives you basic control. It blocks until the pull is complete, and it you kill the CLI, it kills the pull. You could add the pull as a command to the {{container-executor}} and run it from the localizer. bq. So it seems no big differences versus just let Docker do it implicitly. Except that when it's done implicitly the clock is ticking, so a large image can cause the container to appear stalled, as far as I understand it. bq. A big issue is that this patch has security risk as mentioned by Sidharta Seethana. Yes, the answer is to have Docker always pull a new image. That's a common practice. > Add localization support for docker images > ------------------------------------------ > > Key: YARN-3854 > URL: https://issues.apache.org/jira/browse/YARN-3854 > Project: Hadoop YARN > Issue Type: Sub-task > Components: yarn > Reporter: Sidharta Seethana > Assignee: Zhankun Tang > Attachments: YARN-3854-branch-2.8.001.patch, > YARN-3854_Localization_support_for_Docker_image_v1.pdf, > YARN-3854_Localization_support_for_Docker_image_v2.pdf > > > We need the ability to localize images from HDFS and load them for use when > launching docker containers. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org