Hi Iven, You can pass the flag --weights=role1=weight1,role2=weight2 to the mesos-master to specify different "priorities" for DRF (e.g., mesos-master --weights=hadoop-production=4,hadoop-experimental=1). Then you can set the role in the FrameworkInfo (or the configuration property 'mapred.mesos.role' for Hadoop).
Ben. On Sun, Sep 1, 2013 at 7:46 PM, 许立剑 <[email protected]> wrote: > Hi Paco, > > Sorry, mesos core doesn't know that, it's a mistake. I think my question > is the same as Li Jin: Does the current DRF implementation support > different weights for different users? > > 于 2013年09月02日 10:38, Paco Nathan 写道: > > Hi Iven - > > What kind of metrics do you use to determine whether framework A is > "free" ? > > > On Sun, Sep 1, 2013 at 7:04 PM, 许立剑 <[email protected]> wrote: > >> Hi all, >> >> We are trying to use Mesos to manage different frameworks, which have >> different priorities. Say, framework B should only get resource offers >> when framework A is free. >> >> Is there any exsiting mechanism that helps implement this? What is the >> current framework-level scheduler like? >> >> Thanks, >> Iven >> > > >

