This depends, it may be caused by that one of the offer is declined and
then got a filter, this will cause the filtered offer will be offered after
the expire time. Did you set filters when decline offer? If you are
enabling GLOG_v=2 for mesos master, you will get some log as "Framework xxx
filtered agent <slaveId> for <seconds>"

On Mon, Sep 26, 2016 at 2:47 PM, Hendrik Haddorp <[email protected]>
wrote:

> Hi,
>
> I have three Mesos cluster test setups. On two my frameworks gets the
> resource offers from all slaves in one "resourceOffers" call. In one three
> node setup I do however sometimes get offers for all slaves but most of the
> time I get first two offers and then the third in a separate call. Should I
> get all offers in one call or do I need to collect offers? I couldn't find
> any documentation on this. Problem in my case is that I need to start some
> tasks only once I have offers from multiple slaves / agents. So far I
> expected to get all offers in one call.
>
> thanks,
> Hendrik
>

Reply via email to