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 2018/10/17 21:19:00 UTC

[jira] [Comment Edited] (YARN-8587) Delays are noticed to launch docker container

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

Eric Yang edited comment on YARN-8587 at 10/17/18 9:18 PM:
-----------------------------------------------------------

[~Charo Zhang] Sorry for the delay of reply.  [~jlowe] [~shanekumpf@gmail.com] [~billie.rinaldi] [~ebadger] and I had a meeting on this issue.  We decided to revisit this issue to disable detach if not "useEntryPoint" mode is in use.  It is possible to achieve this without breaking compatibility.


was (Author: eyang):
[~Charo Zhang] Sorry for the delay of reply.  [~jlowe] [~shanekumpf@gmail.com] [~ebadger] and I had a meeting on this issue.  We decided to revisit this issue to disable detach if not "useEntryPoint" mode is in use.  It is possible to achieve this without breaking compatibility.

> Delays are noticed to launch docker container
> ---------------------------------------------
>
>                 Key: YARN-8587
>                 URL: https://issues.apache.org/jira/browse/YARN-8587
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>            Reporter: Yesha Vora
>            Priority: Major
>              Labels: Docker
>
> Launch dshell application. Wait for application to go in RUNNING state.
> {code:java}
> yarn  jar /xx/hadoop-yarn-applications-distributedshell-*.jar  -shell_command "sleep 300" -num_containers 1 -shell_env YARN_CONTAINER_RUNTIME_TYPE=docker -shell_env YARN_CONTAINER_RUNTIME_DOCKER_IMAGE=httpd:0.1 -shell_env YARN_CONTAINER_RUNTIME_DOCKER_DELAYED_REMOVAL=true -jar /usr/hdp/current/hadoop-yarn-client/hadoop-yarn-applications-distributedshell-xx.jar
> {code}
> Find out container allocation. Run docker inspect command for docker containers launched by app.
> Sometimes, the container is allocated to NM but docker PID is not up.
> {code:java}
> Command ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null xxx "sudo su - -c \"docker ps  -a | grep container_e02_1531189225093_0003_01_000002\" root" failed after 0 retries 
> {code}



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