----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/57817/ -----------------------------------------------------------
(Updated May 6, 2017, 10:30 p.m.) Review request for mesos, James Peach, Vinod Kone, and Jiang Yan Xu. Changes ------- Rebased. Bugs: MESOS-7015 https://issues.apache.org/jira/browse/MESOS-7015 Repository: mesos Description ------- If the framework indicates a subset of roles to be deactivated, the allocator does not offer resources for those roles to such frameworks. In addition, the master validates the deactivated roles to be a subset of all the roles being (re)registered by the framework. Diffs (updated) ----- src/common/protobuf_utils.hpp be2325f05b81b847fa592eff65175cbc99764fd6 src/common/protobuf_utils.cpp 3fcaf786b29a00f003c10b0f1614a2c7eddc725d src/master/allocator/mesos/hierarchical.hpp 123f97cf495bff0f822838e09df0d88818f04da6 src/master/allocator/mesos/hierarchical.cpp b75ed9a20a9a42f958cebbacd91e5e15b0d21394 src/master/master.cpp 4e7a161f431624bd78d3e9032eb8587687149cad src/tests/hierarchical_allocator_tests.cpp 33d5c0ea0182e09b3f3f30d20a33d46c23d81697 Diff: https://reviews.apache.org/r/57817/diff/7/ Changes: https://reviews.apache.org/r/57817/diff/6-7/ Testing ------- All tests passed. Thanks, Anindya Sinha