mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Guo <>
Subject Re: Review Request 54524: Updated `resources()` method to return resources used by role.
Date Fri, 09 Dec 2016 05:41:15 GMT

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

(Updated Dec. 9, 2016, 1:41 p.m.)

Review request for mesos, Benjamin Bannier, Benjamin Mahler, and Guangya Liu.


addressed ben's comments.

Bugs: MESOS-6685

Repository: mesos

Description (updated)

Currently `resources()` method in `struct Role` of master.hpp returns
totalUsedResources and totalOfferedResources for a framework, which is
inaccurate for multi-role frameworks. A filter is added to capture the
actual resources for specific role in multi-role frameworks.

Diffs (updated)

  src/master/master.hpp d3c20d7cbb9137d3b05cae3d67f004d5e7475c8a 
  src/master/master.cpp 353e6ea802e197b4456c1647f78d9984a50f1c9d 



This patch is just to showcase a possible solution for accounting resources used by a role
in multi-role framework. It fails certain test cases since `allocation_info` is not filled


Jay Guo

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