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

Joseph Wu commented on MESOS-6843:
----------------------------------

Thinking out loud:

The ideal solution would be to pipe logs from the fetcher into the container 
logger.  In the past, this would have required a pretty large refactor, as the 
container logger simply outputs a description of FDs (or FDs that can only be 
inherited once).

But now, in the Mesos containerizer at least, we have the IO Switchboard 
sitting in between the container and the container logger.  (Logs go container 
-> IO Switchboard -> container logger.)  It is conceivable to add a way of 
injecting stdout/stderr to the IO Switchboard (cc [~klueska]).
We'd still need another solution for docker containers though.

> Fetcher should not assume stdout/stderr in the sandbox.
> -------------------------------------------------------
>
>                 Key: MESOS-6843
>                 URL: https://issues.apache.org/jira/browse/MESOS-6843
>             Project: Mesos
>          Issue Type: Bug
>          Components: fetcher
>    Affects Versions: 1.0.2, 1.1.0
>            Reporter: Jie Yu
>            Priority: Critical
>              Labels: mesosphere
>
> If container logger is used, this assumption might not be true. For instance, 
> a journald logger might redirect all task logs to journald. So in theory, the 
> fetcher log should go to journald as well, rather than writing to 
> sandbox/stdout and sandbox/stderr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to