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 Yang (JIRA)" <ji...@apache.org> on 2019/02/09 01:06:00 UTC

[jira] [Comment Edited] (YARN-9245) Add support for Docker Images command

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

Eric Yang edited comment on YARN-9245 at 2/9/19 1:05 AM:
---------------------------------------------------------

[~csingh] Thank you for the patch.  Patch 002 looks ok.  When the delimiter is : character, some images may not split at expected character due to port number:

{code}
host-1.example.com:5000/centos:latest
centos:7
{code}

It might be better to use {{json .}} to ensure the output serialization doesn't get processed incorrectly.  It is good to control the output format in container executor to prevent upstream input error to generate bad output down stream.


was (Author: eyang):
[~csingh] Thank you for the patch.  Patch 002 looks ok.  When the delimiter is : character, some images may not split at expected character due to port number:

{code}
host-1.example.com:5000/centos:latest
centos:7
{code}

It might be better to use {{json .}} to ensure the output serialization doesn't get processed incorrectly.  It is good to control the output in container executor to prevent upstream input error to generate bad output down stream.

> Add support for Docker Images command
> -------------------------------------
>
>                 Key: YARN-9245
>                 URL: https://issues.apache.org/jira/browse/YARN-9245
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>            Reporter: Chandni Singh
>            Assignee: Chandni Singh
>            Priority: Major
>              Labels: Docker
>         Attachments: YARN-9245.001.patch, YARN-9245.002.patch
>
>
> Refer https://issues.apache.org/jira/browse/YARN-3854
> Need a way to find out whether a docker pull is completed or the docker image is present locally. Just executing the below docker command can provide the information
> {code}
> docker images  [REPOSITORY[:TAG]]
> {code} 
> Will add support for docker images command with this jira.



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