You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2014/05/10 23:58:05 UTC

[jira] [Created] (MESOS-1336) Subprocess can lead to a blocked child process when input/output splicing is not performed by the caller.

Benjamin Mahler created MESOS-1336:
--------------------------------------

             Summary: Subprocess can lead to a blocked child process when input/output splicing is not performed by the caller.
                 Key: MESOS-1336
                 URL: https://issues.apache.org/jira/browse/MESOS-1336
             Project: Mesos
          Issue Type: Bug
          Components: libprocess
            Reporter: Benjamin Mahler


Noticed this when looking at https://reviews.apache.org/r/21233/.

Since Subprocess always replaces the child process' stdin / stdout / stderr with pipes, the child process can block if the caller does not read from the pipes.

We should provide some additional control to callers over the pipe redirection to make this more explicit.



--
This message was sent by Atlassian JIRA
(v6.2#6252)