The DRF algorithm works by looking at one slave's resource at a time. If a
slave's resource is filtered by a framework (due to declining), that
framework will not be considered a candidate for DRF for that resource. So
in your example, if Framework2 rejects, Framework1 should get the offer.

On Tue, Jul 7, 2015 at 3:45 PM, Ying Ji <[email protected]> wrote:

> Hey, Mesos experts:
>
>      The default allocation policy for mesos is DRF. Assume the dominant
> share for Framework1 is 20%, and the dominant share for Framework2 is 0%.
> So, Framework2 will receive next shares of resource offer which will
> increase the its dominant share to 10%. Since framework 2 continues to
> have the lower dominant share, it receives the next shares of resource
> offers. But somehow, the framework2 rejects the offers, in that case its
> dominant share is not changed.  So, does the framework2 will still receives
> the next shares of resource offers from master ? If framework2 keeps
> rejecting the offers, does this will starve the framework1 ?
>
>
> Thanks
>
> Ying
>

Reply via email to