hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane Kumpf (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7914) Fix exit code handling for short lived Docker containers
Date Fri, 09 Feb 2018 19:44:00 GMT

    [ 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

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

View raw message