Re: Can tasks from multiple frameworks simultaneously run on the same slave node?

2015-12-04 Thread Guangya Liu
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/bl

Re: Can tasks from multiple frameworks simultaneously run on the same slave node?

2015-12-04 Thread Jan Schlicht
Hi Daniel, this depends on your framework: Mesos assumes that a framework is "well behaved", i.e. only requests the resources that it really needs. A framework can control this using SchedulerDriver::requestResources() call. Therefore a framework might not take all available resources of an agent.

Re: Can tasks from multiple frameworks simultaneously run on the same slave node?

2015-12-04 Thread Klaus Ma
re (a): Yes, it's current behavior; but MESOS-3765 is to enhance it. re (b): partly: 0. I'm not sure I understand your point on "actually used to launch tasks", but my point is that Mesos did not know whether "task" is right; Mesos depedent on

Can tasks from multiple frameworks simultaneously run on the same slave node?

2015-12-04 Thread Daniel
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 explicitl