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

(Updated April 18, 2014, 3:36 a.m.)


Review request for mesos, Benjamin Hindman, Ian Downes, and Niklas Nielsen.


Changes
-------

- removed fallbacks
- now using recordio for protobuf serializing
- removed containerID parameter
- now using Launch and Update protobufs
- rebased on dependencies


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


Repository: mesos-git


Description (updated)
-------

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).

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

COMMAND < INPUT-PROTO > RESULT-PROTO

launch < Launch
update < Update
usage < ContainerID > ResourceStatistics
wait < ContainerID > Termination
destroy < ContainerID

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.


Diffs (updated)
-----

  configure.ac c1de6d7 
  src/Makefile.am 560b4c7 
  src/examples/python/test-containerizer.in PRE-CREATION 
  src/examples/python/test_containerizer.py PRE-CREATION 
  src/slave/containerizer/containerizer.hpp d9ae326 
  src/slave/containerizer/containerizer.cpp 344872a 
  src/slave/containerizer/external_containerizer.hpp PRE-CREATION 
  src/slave/containerizer/external_containerizer.cpp PRE-CREATION 
  src/slave/flags.hpp d5c54c0 
  src/tests/external_containerizer_test.cpp PRE-CREATION 

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


Testing
-------

make check and functional testing.


Thanks,

Till Toenshoff

Reply via email to