[ 
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 [[email protected]], 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 pipe.

> 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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to