Just want to show more detail for offer_timeout, currently, there is no
default value for it, you may want to specify a value such as "5s" when
start up mesos master. Then if the offer was not handled in 5s, it will be
returned to master automatically.

Cited from https://github.com/apache/mesos/blob/master/docs/configuration.md

--offer_timeout=VALUEDuration of time before an offer is rescinded from a
framework.

This helps fairness when running frameworks that hold on to offers, or
frameworks that accidentally drop offers.

Thanks,

Guangya

On Fri, Dec 4, 2015 at 5:44 PM, Daniel <[email protected]> wrote:

> Hi, I'm confused with Mesos's resource offering mechanism:
>
> (a) An offer includes all available resources in a slave node.
>
> (b) A framework would occupy the resources associated with an offer,
> regardless of whether the resources were actually used to launch tasks,
> unless the offer was explicitly declined by calling declineOffer(offerId).
>
> (c) An offer must be declined in its entirety.
>
> Then it seems that if a framework does not decline an offer from a slave
> node, other frameworks have no access to the resources on the same slave
> node. Am I correct? Can tasks from mulliple frameworks simultaneously run
> on the same slave node?
>
> Thanks a lot :-)
>

Reply via email to