mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongqiao Wang" <>
Subject Re: Review Request 41597: Extending allocator interface to support dynamic weights
Date Tue, 29 Dec 2015 07:03:29 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Dec. 29, 2015, 7:03 a.m.)

Review request for mesos, Adam B, Neil Conway, and Qian Zhang.


Update the parameter to WeightInfos protobuf rather than a hashmap.

Bugs: MESOS-3943

Repository: mesos


Add the interface in allocator to support updating weight
at runtime, and the allocator is invoked to allocate the
resources based on the updated weights later.

Diffs (updated)

  include/mesos/master/allocator.hpp f7ada68d7111486d264284990996413bb33333d6 
  include/mesos/mesos.proto 2431fdd6b84625c6140a2b3913736bffada4e7f6 
  include/mesos/v1/mesos.proto 4aed0980b28dc1000aa2821f35303b736bc5bff8 
  src/master/allocator/mesos/allocator.hpp 50ef3b20f34bc6d87cbeccabcebec9a5031a6554 
  src/master/allocator/mesos/hierarchical.hpp 86ea5a402ed67f8f22f11d5730147cd907d66a08 
  src/master/allocator/mesos/hierarchical.cpp 7f900c4e024485704d79e57ae22407557598fe6c 
  src/master/allocator/sorter/drf/sorter.hpp 050896e8b12cd4097ccd137d5284d6b39b0f06ab 
  src/master/allocator/sorter/drf/sorter.cpp 3a442f121f3a1505513877a5c78458a4b8d0a824 
  src/master/allocator/sorter/sorter.hpp 7be6b44a762fd62c2cd7f28b4dc4865a4587ed26 
  src/tests/allocator.hpp 9bdfaecf1a148f113ad52956b50ed7cabe0902ef 



Make & Make check successfully!

Test case:


Yongqiao Wang

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message