hmm, I am still digging more information in marathon. It may delay because I am not familiar with marathon's code and sick today, but I would inform you once have result. My quick conclusion is this may be the bug of marathon when match resource requirement in offers from Mesos Master. Still under finding the root cause of it.
On Sun, May 1, 2016 at 4:24 PM, caogaojin <[email protected]> wrote: > @Haosdent, what does http://10.132.46.71:5050/roles mean? shouldn’t that > tell us all resources that framework with `dev` role takes, both from `dev` > and `*` role? It doesn’t mean resources are consumed from `dev` role, right? > -- > Best Regards, > > GaoJin CAO > ChinaMobile(Suzhou) R&D > Mail:caogaojin at cmss.chinamobile.com > > On May 1, 2016, at 16:02, caogaojin <[email protected]> > wrote: > > > ``` > [root@localhost ~]# curl http://10.132.46.71:5050/roles | python -m > json.tool > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left > Speed > 100 250 100 250 0 0 46772 0 --:--:-- --:--:-- --:--:-- > 50000 > { > "roles": [ > { > "frameworks": [], > "name": "*", > "resources": { > "cpus": 0, > "disk": 0, > "mem": 0 > }, > "weight": 1.0 > }, > { > "frameworks": [ > "439a851d-aa09-47af-bc68-d5588dc9f5da-0002" > ], > * "name": "dev",* > * "resources": {* > * "cpus": 1.0,* > * "disk": 0,* > * "mem": 128.0,* > * "ports": "[31994-31994]"* > * },* > "weight": 1.0 > } > ] > } > ``` > > > -- Best Regards, Haosdent Huang

