mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Toenshoff" <>
Subject Re: Review Request 17567: Added External Containerizer.
Date Tue, 25 Mar 2014 18:55:09 GMT

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

(Updated March 25, 2014, 6:55 p.m.)

Review request for mesos, Ian Downes, Niklas Nielsen, and Vinod Kone.


Me, Niklas and Ian will shepherd this. -- Vinod.

Bugs: MESOS-816

Repository: mesos-git


This patch adds the so-called external containerizer. This
containerizer delegates all containerizer calls directly to 
an external containerizer program (which can be specified on 
start-up). Few calls have internal fall-back implementations 
such as wait(), destroy() and usage().

The protocol for the interactions with the external program
is as follows:


launch (ContainerID, --mesos-executor, <path>) < TaskInfo > ExternalStatus
update (ContainerID) < ResourceArray > ExternalStatus
usage (ContainerID) > ResourceStatistics
wait (ContainerID) > ExternalTermination
destroy (ContainerID) > ExternalStatus

When protocol buffers need to be provided, the Mesos side of
the external containerizer implementation will serialize the 
protos on stdin and vice-versa for reading protos on stdout as 
drafted in the above scheme.

----- 5404dc2 
  include/mesos/mesos.proto 37f8a7f 
  src/ 0775a0d 
  src/examples/python/ PRE-CREATION 
  src/examples/python/ PRE-CREATION 
  src/slave/containerizer/containerizer.cpp 6de091e 
  src/slave/containerizer/external_containerizer.hpp PRE-CREATION 
  src/slave/containerizer/external_containerizer.cpp PRE-CREATION 
  src/slave/flags.hpp c9a627b 
  src/tests/external_containerizer_test.cpp PRE-CREATION 



make check and functional testing.


Till Toenshoff

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