incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " (Commented) (JIRA)" <>
Subject [jira] [Commented] (MESOS-175) Unused portions of offers are not immediately offered to another framework
Date Fri, 30 Mar 2012 06:44:51 GMT

] commented on MESOS-175:

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

Review request for mesos and Benjamin Hindman.


Make sure removeOffer() is called before resourcesUnused()/resourcesRecovered() is called
on the allocator.

This ensures that the allocator will see a correct value from master::Slave::resourcesFree().

This addresses bug MESOS-175.


  src/master/master.hpp 8a34d7e 
  src/master/master.cpp 4dc9ee0 
  src/tests/resource_offers_tests.cpp c1f1760 



make check (two new tests included)



> Unused portions of offers are not immediately offered to another framework
> --------------------------------------------------------------------------
>                 Key: MESOS-175
>                 URL:
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Charles Reiss
>            Priority: Minor
> When a framework returns an offer but does not use the entire offer, the master calls
allocator to make new allocations for that offer. Unfortunately, it currently does so before
removing the offer, so the current allocator will not consider those resources free, and so
the allocator will think it those resources are not free. In practice, the resources will
be offered on the next timer tick, framework registration, or other event causing the slave
to be reconsidered for offers, so this is a relatively low impact issue.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message