mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kone" <vinodk...@gmail.com>
Subject Re: Review Request 34616: Updated allocator to properly handle oversubscribed resources.
Date Sat, 23 May 2015 00:33:19 GMT

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

(Updated May 23, 2015, 12:33 a.m.)


Review request for mesos, Jie Yu and Niklas Nielsen.


Changes
-------

Added a Note and TODO. NNFR.


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


Repository: mesos


Description
-------

Just ending up resuing the existing variables (Slave.total and Slave.available) to store oversubscribed
resources. The nice thing is that the changes are minimal. Also, we could potentially reuse
updateSlave() to also update slave's total resources in the future.


Diffs (updated)
-----

  src/master/allocator/mesos/hierarchical.hpp 9c949b4d056e9ae32cc18bc812a0cdb3b73a13e5 
  src/tests/hierarchical_allocator_tests.cpp 1a43dc72e739f3c55787716d680faa42a7d0d86f 

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


Testing
-------

make check


Thanks,

Vinod Kone


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