Thanks Jay.. Dose it mean if one of scheduler/frame need a lot resource and keep ask for more resources from mesos, then it will cause other framework/scheduler hard to get resources? Any way I can configure the mesos to setup a resource consuming boundary for each framework? Best Regards Jun Feng Liu IBM China Systems & Technology Laboratory in Beijing
Phone: 86-10-82452683 E-mail: [email protected] BLD 28,ZGC Software Park No.8 Rd.Dong Bei Wang West, Dist.Haidian Beijing 100193 China Jay Buffington <[email protected]> Sent by: [email protected] 2014/08/18 02:44 Please respond to [email protected] To [email protected], cc Subject Re: mesos scheduling On Sun, Aug 17, 2014 at 6:13 AM, Jun Feng Liu <[email protected]> wrote: I am trying to better understand how mesos allocator works. In the offer resource model, will mesos send the same offer to multiple framework? Or it just send all resource to one framework then wait the response from the the framework then try the next one? Mesos sends an offer to one scheduler (a scheduler is part of a framework) at a time. That scheduler will have the offer until it uses it, gives it back or mesos rescinds it. This strategy was referred to as "pessimistic" by Google's Omega paper [1] and has drawbacks. In order to address these points a new type of offer, an Optimistic Offer, is being considered. See https://issues.apache.org/jira/browse/MESOS-1607 Jay [1] http://eurosys2013.tudos.org/wp-content/uploads/2013/paper/Schwarzkopf.pdf

