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

(Updated March 12, 2013, 12:16 a.m.)


Review request for mesos, Benjamin Hindman and Vinod Kone.


Changes
-------

Updated to Vinod's review.

I added the concept of "allocation groups" which can have resources statically 
allocated to them (we should also be able to use this abstraction when 
implementing future allocation policies, such as a minimum guaranteed 
allocation policy based on groups (like static allocations, but only specifying 
amounts of resources and not specific slaves they have to be on), possibly DRF 
based on groups instead of users/frameworks, etc.)


Description
-------

Introduces the Dedication abstraction, a protobuf with C++ wrapper in the style 
of Attributes or Resources, used to store information about resources on 
certain slaves being statically dedicated to certain frameworks/users. The 
patch allows this information to be passed in to the slave as a command line 
option, then parses it and creates the appropriate Dedication objects to be 
passed to the allocator.

This patch does not implement the logic behind static allocations in the 
allocator because I'm trying to break all of this up to make it easier to 
review.


Diffs (updated)
-----

  include/mesos/mesos.proto 2a6170e 
  src/Makefile.am f7242a7 
  src/common/dedications.hpp PRE-CREATION 
  src/common/dedications.cpp PRE-CREATION 
  src/slave/flags.hpp b2441c7 
  src/slave/slave.hpp 11f17ae 
  src/slave/slave.cpp 889e9fe 

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


Testing
-------

make check


Thanks,

Thomas Marshall

Reply via email to