----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22754/ -----------------------------------------------------------
(Updated July 17, 2014, 11:49 a.m.) Review request for mesos and Ben Mahler. Changes ------- Make the endpoint accept a list of hostnames instead of slave IDs Return the result of the deactivation instead of OK every time. Repository: mesos-git Description (updated) ------- 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 4fba007bfb9909056dc85f9dc04483994d662740 src/master/master.hpp 8641f2dfe711481133869f876715b56728dc1bc0 src/master/master.cpp 86b147fce153fe3a241dbd841e033f2b7ca07b01 Diff: https://reviews.apache.org/r/22754/diff/ Testing ------- Thanks, Alexandra Sava