hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sidharta Seethana (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (YARN-5258) Document Use of Docker with LinuxContainerExecutor
Date Sat, 07 Jan 2017 00:32:58 GMT

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

Sidharta Seethana edited comment on YARN-5258 at 1/7/17 12:32 AM:
------------------------------------------------------------------

[~templedf], the doc looks good. There is one thing, though : 

{quote}
the entry point will be ignored when LCE launches the image because the
LCE always specifies the command to execute as YARN's container launch script.
{quote}

Actually, images with ‘entrypoint’s won’t work correctly - the entry point is not ignored,
the launch command (in this case launch_container.sh) will be sent as an argument to the entrypoint
which is completely unexpected. The only scenario where this could work is if YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE
is in use - where the entry point is used with the default command. We’ll need to find a
fix/work around for this for other scenarios. 


was (Author: sidharta-s):
[~templedf], the doc looks good. The is one thing, though : 

{quote}
the entry point will be ignored when LCE launches the image because the
LCE always specifies the command to execute as YARN's container launch script.
{quote}

Actually, images with ‘entrypoint’s won’t work correctly - the entry point is not ignored,
the launch command (in this case launch_container.sh) will be sent as an argument to the entrypoint
which is completely unexpected. The only scenario where this could work is if YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE
is in use - where the entry point is used with the default command. We’ll need to find a
fix/work around for this for other scenarios. 

> Document Use of Docker with LinuxContainerExecutor
> --------------------------------------------------
>
>                 Key: YARN-5258
>                 URL: https://issues.apache.org/jira/browse/YARN-5258
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: documentation
>    Affects Versions: 2.8.0
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
>            Priority: Critical
>              Labels: oct16-easy
>         Attachments: YARN-5258.001.patch, YARN-5258.002.patch, YARN-5258.003.patch, YARN-5258.004.patch
>
>
> There aren't currently any docs that explain how to configure Docker and all of its various
options aside from reading all of the JIRAs.  We need to document the configuration, use,
and troubleshooting, along with helpful examples.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message