You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Joseph Wu <jo...@mesosphere.io> on 2016/01/14 20:41:39 UTC

Re: Review Request 41780: Change ContainerLogger and Fetcher to not duplicate FDs given to a subprocess

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41780/
-----------------------------------------------------------

(Updated Jan. 14, 2016, 11:41 a.m.)


Review request for mesos, Benjamin Hindman, Bernd Mathiske, and Artem Harutyunyan.


Changes
-------

Changed bool argument to an enum.


Summary (updated)
-----------------

Change ContainerLogger and Fetcher to not duplicate FDs given to a subprocess


Bugs: MESOS-4136
    https://issues.apache.org/jira/browse/MESOS-4136


Repository: mesos


Description (updated)
-------

Change ContainerLogger and Fetcher to not duplicate FDs given to a subprocess


Diffs (updated)
-----

  include/mesos/slave/container_logger.hpp a2362070ead0afcef1e6c2ca784083ddb01ba51a 
  src/slave/containerizer/fetcher.cpp 4ac9149980cf7f013b318218a1b29369c5dcff17 

Diff: https://reviews.apache.org/r/41780/diff/


Testing
-------

make check


Thanks,

Joseph Wu


Re: Review Request 41780: Changed ContainerLogger and Fetcher to not duplicate FDs.

Posted by Joseph Wu <jo...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41780/
-----------------------------------------------------------

(Updated Jan. 19, 2016, 7:41 p.m.)


Review request for mesos, Benjamin Hindman, Bernd Mathiske, and Artem Harutyunyan.


Changes
-------

Renamed FD::CLOEXEC to FD::OWNED.


Summary (updated)
-----------------

Changed ContainerLogger and Fetcher to not duplicate FDs.


Bugs: MESOS-4136
    https://issues.apache.org/jira/browse/MESOS-4136


Repository: mesos


Description (updated)
-------

This change shifts the burden of FD lifecycle management away from ContainerLogger module writers.
This change also cleans up the Fetcher code slightly.


Diffs (updated)
-----

  include/mesos/slave/container_logger.hpp a2362070ead0afcef1e6c2ca784083ddb01ba51a 
  src/slave/containerizer/fetcher.cpp 4ac9149980cf7f013b318218a1b29369c5dcff17 

Diff: https://reviews.apache.org/r/41780/diff/


Testing
-------

make check


Thanks,

Joseph Wu