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

(Updated July 21, 2014, 2:09 p.m.)


Review request for mesos and Ben Mahler.


Changes
-------

Made this review compatible with the actual state of the code (there were some 
nomenclature commits so it wasn't compatible any more).
Also, adjusted a bit  Master::Http::deactivate and _deactivate methods.


Repository: mesos-git


Description
-------

This is the first part of the 'deactivate slave' mechanism.

This part consists of creating an HTTP endpoint which receives HTTP posts. Each 
post contains a JSON object with a list of host names.
The list is further passed to the master which checks which slaves run on those 
hosts and marks them as 'deactivated' in the allocator. The final result is 
that the master will no longer send resource offers belonging to the 
deactivates slaves.

The TODO for the second part is to make the list of deactivated slaves 
persistent, by storing it into the Registry.


Diffs (updated)
-----

  src/master/http.cpp f2ca6599eb165c4c1bc4580175fa439f797c832b 
  src/master/master.hpp 7e7a75bd7e0fafc084ad2663c894e76e5fb35edd 
  src/master/master.cpp 896be5e8db45e819ce9f3a4e24c4017605283f12 

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


Testing
-------


Thanks,

Alexandra Sava

Reply via email to