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

(Updated July 17, 2017, 12:09 p.m.)


Review request for mesos, Benjamin Mahler and haosdent huang.


Summary (updated)
-----------------

Added a method in the agent exposing an executor's allocated resources.


Bugs: MESOS-6441
    https://issues.apache.org/jira/browse/MESOS-6441


Repository: mesos


Description (updated)
-------

This allows us to call a method to get the executor's allocated
resources, instead of call-sites having to each iterate over the
executor's pending and launched tasks. It turns out that most
call-sites forgot to account for the pending tasks, and accounting
for the pending tasks is non-trivial!


Diffs (updated)
-----

  src/slave/slave.hpp 8bb03ecd86bfd87dfd27a800910130aec04e0919 
  src/slave/slave.cpp adbe65fbb7c555b098eaae228c7277402452d8a2 


Diff: https://reviews.apache.org/r/60867/diff/2/

Changes: https://reviews.apache.org/r/60867/diff/1-2/


Testing
-------

make check


Thanks,

Andrei Budnik

Reply via email to