mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Klues <>
Subject Re: Review Request 53837: Added a per container io switchboard server process.
Date Wed, 23 Nov 2016 02:45:17 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Nov. 23, 2016, 2:45 a.m.)

Review request for mesos, Benjamin Hindman, Jie Yu, and Vinod Kone.


Rebased with changes to previous commits.

Bugs: MESOS-6467

Repository: mesos


Currently, this process simply intercepts the stdout/stderr of a
container and writes it to the stdout/stderr FDs set up by the
container logger. We also send the stdout/stderr data to a simple HTTP
server that we launch on a unix domain socket set up by the agent.
Right now this server is just a stub and doesn't do anything useful.

In future commits, we will expand this HTTP server to handle
of a container. It will use the stdout/stderr messages passed to it to
and send that data over the response stream to any clients connected
with an 'ATTACH_CONTAINER_OUTPUT' call. Likewise, it will take any
input streamed in over a 'ATTACH_CONTAINER_INPUT' request and write it
to a container's stdin.

We don't currently handle recovering access to the io switchboard
server process after agent restarts. We will add that in a subsequent

Diffs (updated)

  src/ 5e0b8406f7f624bd8b03ff76b887f20e22fc66e0 
  src/slave/containerizer/mesos/containerizer.cpp e47a120bfbb607cc0cdbdaed934ae15f15666ae3

  src/slave/containerizer/mesos/io/switchboard.hpp PRE-CREATION 
  src/slave/containerizer/mesos/io/switchboard.cpp PRE-CREATION 
  src/slave/containerizer/mesos/io/switchboard_main.hpp PRE-CREATION 
  src/slave/containerizer/mesos/io/switchboard_main.cpp PRE-CREATION 



GTEST_FILTER="" make -j check
sudo src/mesos-tests


Kevin Klues

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message