You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by RJ Nowling <rn...@gmail.com> on 2015/09/08 21:03:15 UTC

Setting maximum per-node resources in offers

Hi all,

I have a smallish cluster with a lot of cores and RAM per node.  I want to
support multiple users so I'd like to set up Mesos to provide a maximum of
8 cores per node in the resource offers.  Resource offers should include
multiple nodes to reach the requirements of the user.  For example, if the
user requests 32 cores, I would like 8 cores from each of 4 nodes.

Is this possible?  Or can someone suggest alternatives?

Thanks,
RJ

Re: Setting maximum per-node resources in offers

Posted by RJ Nowling <rn...@gmail.com>.
Thanks, Klaus.

I think I was probably misunderstanding the role of the allocator in Mesos
versus the scheduler in the framework sitting on top of Mesos.  Probably
out of scope for Mesos to divide up resources as I was suggesting.

On Tue, Sep 8, 2015 at 10:48 PM, Klaus Ma <kl...@cguru.net> wrote:

> If it's the only framework, you will receive all nodes from Mesos as
> offers. You can re-schedule those resources to run tasks on each node.
>
>
> On 2015年09月09日 03:03, RJ Nowling wrote:
>
>> Hi all,
>>
>> I have a smallish cluster with a lot of cores and RAM per node.  I want
>> to support multiple users so I'd like to set up Mesos to provide a maximum
>> of 8 cores per node in the resource offers.  Resource offers should include
>> multiple nodes to reach the requirements of the user.  For example, if the
>> user requests 32 cores, I would like 8 cores from each of 4 nodes.
>>
>> Is this possible?  Or can someone suggest alternatives?
>>
>> Thanks,
>> RJ
>>
>
> --
> Klaus Ma (马达), PMP® | http://www.cguru.net
>
>

Re: Setting maximum per-node resources in offers

Posted by Klaus Ma <kl...@cguru.net>.
If it's the only framework, you will receive all nodes from Mesos as 
offers. You can re-schedule those resources to run tasks on each node.

On 2015年09月09日 03:03, RJ Nowling wrote:
> Hi all,
>
> I have a smallish cluster with a lot of cores and RAM per node.  I 
> want to support multiple users so I'd like to set up Mesos to provide 
> a maximum of 8 cores per node in the resource offers.  Resource offers 
> should include multiple nodes to reach the requirements of the user.  
> For example, if the user requests 32 cores, I would like 8 cores from 
> each of 4 nodes.
>
> Is this possible?  Or can someone suggest alternatives?
>
> Thanks,
> RJ

-- 
Klaus Ma (马达), PMP® | http://www.cguru.net


Re: Setting maximum per-node resources in offers

Posted by tommy xiao <xi...@gmail.com>.
I don't think you can do it. the alternative way you need setup a marathon
UI to manage multiuser's task

2015-09-09 3:03 GMT+08:00 RJ Nowling <rn...@gmail.com>:

> Hi all,
>
> I have a smallish cluster with a lot of cores and RAM per node.  I want to
> support multiple users so I'd like to set up Mesos to provide a maximum of
> 8 cores per node in the resource offers.  Resource offers should include
> multiple nodes to reach the requirements of the user.  For example, if the
> user requests 32 cores, I would like 8 cores from each of 4 nodes.
>
> Is this possible?  Or can someone suggest alternatives?
>
> Thanks,
> RJ
>



-- 
Deshi Xiao
Twitter: xds2000
E-mail: xiaods(AT)gmail.com