mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kone" <vinodk...@gmail.com>
Subject Review Request 34616: Updated allocator to properly handle oversubscribed resources.
Date Fri, 22 May 2015 21:41:21 GMT

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

Review request for mesos, Jie Yu and Niklas Nielsen.


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
-----

  src/master/allocator/mesos/hierarchical.hpp 4b36d42b0c4614493562e57c5eac90c6c38ca087 
  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