hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6726) Fix issues with docker commands executed by container-executor
Date Tue, 25 Jul 2017 20:45:01 GMT

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

Wangda Tan commented on YARN-6726:

Thanks for explanations [~shanekumpf@gmail.com], I still not fully understanding #2.

I can understand the part why command goes to STDOUT, but I'm not sure why removing fflush
can avoid this happen. Before the patch, output of container-executor (in time order).
a. Using command: <command> .... (fflush)
b. Output of {{docker inspect}} 

Even if we remove fflush from (a), I'm not sure how we can avoid it occurs in the output since
it happens before (b). 

Also, I'm wondering if this is a correct solution, because this assumes inside c-e, there's
no message should be allowed to happen before the actual docker command execution. Ideally
we should either redirect docker command output to a separate file or could possibly use named

> Fix issues with docker commands executed by container-executor
> --------------------------------------------------------------
>                 Key: YARN-6726
>                 URL: https://issues.apache.org/jira/browse/YARN-6726
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: Shane Kumpf
>            Assignee: Shane Kumpf
>         Attachments: YARN-6726.001.patch
> docker inspect, rm, stop, etc are issued through container-executor. Commands other than
docker run are not functioning properly.

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