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

Shane Kumpf commented on YARN-7914:
-----------------------------------

Attaching a patch to fix the issue. The exit code handling logic incorrectly 
depended on obtaining a valid PID for the container. Even when a PID isn't 
available, we still need to get the exit code for the container to properly 
fail cases where the launch_command is invalid or simply calls exit with a 
non-zero value.

> Fix exit code handling for short lived Docker containers
> --------------------------------------------------------
>
>                 Key: YARN-7914
>                 URL: https://issues.apache.org/jira/browse/YARN-7914
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Shane Kumpf
>            Assignee: Shane Kumpf
>            Priority: Major
>         Attachments: YARN-7914.001.patch
>
>
> Currently, if c-e is unable to obtain the PID for a short lived Docker 
> container, the exitcode will not be properly obtained via {{docker inspect.}} 
> This results in containers successfully completing when they should fail.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to