"*" is not a standard role, but instead represents unreserved resources
that will be offered to any framework, according to (weighted,
hierarchical) DRF. So it doesn't make sense to talk about the resources
"reserved" for "*". Rather, if you take the total cluster resources, and
subtract the resour
yes, maybe we can calc all the resource that share the same role name
from '/state' and add the field into '/roles' payload, but there's a
role named "*", how to get that role's total reserved resource, although
it provides the used info from '/roles'.
On 2016年02月23日 10:15, Klaus Ma wrote:
So
So I think you need to calculate it from `/master/state`; `/master/state`
has provided the reserved resources per-slave per-role.
Da (Klaus), Ma (马达) | PMP® | Advisory Software Engineer
Platform OpenSource Technology, STG, IBM GCG
+86-10-8245 4084 | klaus1982...@gmail.com | http://k82.me
O
@Klaus, The total resources reserved by this role I think.
.
On 2016年02月22日 19:33, Klaus Ma wrote:
@陈强,How do you define the "total resources"? All resources of frameworks in
the same role, the deserved resources of role it should get, or the total
resources reserved by this role?
Da (Kl
@陈强,How do you define the "total resources"? All resources of frameworks in
the same role, the deserved resources of role it should get, or the total
resources reserved by this role?
Da (Klaus), Ma (马达) | PMP® | Advisory Software Engineer
Platform OpenSource Technology, STG, IBM GCG
+86-10-8
Does /master/state endpoint help? This can get all resources per-role in
the cluster, including total, used, reserved etc per role.
*"reserved_resources"*: {
*"r2"*: {
*"mem"*: 0,
*"disk"*: 0,
*"cpus"*: 8
},
*"r1"*: {
*"mem"*:
ything.
--
-- Original --
From: "";;
Date: Mon, Feb 22, 2016 05:50 PM
To: "dev";
Subject: Re: Mesos supports to get the available total resource per-roles ?
Currently, no endpoint in Mesos can show the available total resou
yourself, then you can control everything.
--
-- Original --
From: "haosdent";;
Date: Mon, Feb 22, 2016 05:19 PM
To: "dev";
Subject: Re: Mesos supports to get the available total resource per-roles ?
Oh, sorry. Shoul
.
--
-- Original --
From: "";;
Date: Mon, Feb 22, 2016 05:37 PM
To: "dev";
Subject: Re: Mesos supports to get the available total resource per-roles ?
the "/roles" reports the "used resource" rather than the "available
re
the "/roles" reports the "used resource" rather than the "available
resource", and the "available resource" doesn't mean "total mesos
cluster resource" minus "used resource", it should be "total mesos
cluster resource per every roles" minus "the used resource", I think.
So, there anyway to get
2, 2016 05:19 PM
To: "dev";
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 wrote:
> Hi, I think master state endpoint have already contain this.
>
> On
Oh, sorry. Should be /master/roles endpoint.
On Mon, Feb 22, 2016 at 5:17 PM, haosdent wrote:
> Hi, I think master state endpoint have already contain this.
>
> On Mon, Feb 22, 2016 at 5:11 PM, 陈强 wrote:
>
>> Hi all,
>>
>> Does Mesos support to get the available total resource for every roles
>
Hi, I think master state endpoint have already contain this.
On Mon, Feb 22, 2016 at 5:11 PM, 陈强 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 Rega
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
14 matches
Mail list logo