mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mesos ReviewBot <revi...@mesos.apache.org>
Subject Re: Review Request 54524: Updated `resources()` method to return resources used by role.
Date Thu, 08 Dec 2016 09:19:47 GMT

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



Bad review!

Reviews applied: [54524, 54361, 54522, 54521, 54365]

Error:
Circular dependency detected for review 54361.Please fix the 'depends_on' field.

- Mesos ReviewBot


On Dec. 8, 2016, 7:10 a.m., Jay Guo wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54524/
> -----------------------------------------------------------
> 
> (Updated Dec. 8, 2016, 7:10 a.m.)
> 
> 
> Review request for mesos, Benjamin Mahler and Guangya Liu.
> 
> 
> Bugs: MESOS-6685
>     https://issues.apache.org/jira/browse/MESOS-6685
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> 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 filter out
> actual resources for specific role in a framework.
> 
> 
> Diffs
> -----
> 
>   src/master/master.hpp d3c20d7cbb9137d3b05cae3d67f004d5e7475c8a 
>   src/master/master.cpp 353e6ea802e197b4456c1647f78d9984a50f1c9d 
> 
> Diff: https://reviews.apache.org/r/54524/diff/
> 
> 
> Testing
> -------
> 
> 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
yet.
> 
> 
> Thanks,
> 
> Jay Guo
> 
>


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