Currently, no endpoint in Mesos can show the available total resource for each role, /roles endpoint now can only show the information about every role that is on the role whitelist (enabled by --roles flag), has one or more registered frameworks, or has a non-default weight or quota. For each role, it returns the weight, total allocated resources, and registered frameworks.
------------------ Regards! Grady YQ. Wang?????????? ---------------------------------------------------------------------- Software Engineer Of IBM Platform Computing E-mail: yq...@cn.ibm.com WeChat ID: gradyYQwang Address: 3/F,No.42 GAO XIN LIU ROAD,Xian,Shanxi 710075 China If you can control yourself, then you can control everything. ---------------------------------------------------------------------- ------------------ Original ------------------ From: "haosdent";<haosd...@gmail.com>; Date: Mon, Feb 22, 2016 05:19 PM To: "dev"<dev@mesos.apache.org>; Subject: Re: Mesos supports to get the available total resource per-roles ? Oh, sorry. Should be /master/roles endpoint. On Mon, Feb 22, 2016 at 5:17 PM, haosdent <haosd...@gmail.com> wrote: > Hi, I think master state endpoint have already contain this. > > On Mon, Feb 22, 2016 at 5:11 PM, ???? <chenqi...@qiyi.com> wrote: > >> Hi all, >> >> Does Mesos support to get the available total resource for every roles >> now? if don't, who are focusing on this? thanks. >> >> -- >> >> Best Regards, >> ChenQiang >> >> > > > -- > Best Regards, > Haosdent Huang > -- Best Regards, Haosdent Huang