You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Eugen Cepoi <ce...@gmail.com> on 2017/04/21 23:16:16 UTC

requesting resources

Hi,

I've been trying to request resources for starving tasks (from a custom
framework) but it seems that the master outside of logging the request
doesn't do anything with it.

https://github.com/apache/mesos/blob/50583f15f88fe251266dfc4093389453c13dd9ad/src/master/allocator/mesos/hierarchical.cpp#L678-L684

Am I missing something?

Thanks,
Eugen

Re: requesting resources

Posted by Jay Guo <gu...@gmail.com>.
Hi Eugen,

Yeah.. that interface is not implemented yet. h-drf allocator
currently only works in offer-based two-level scheduling. In case of
starved frameworks, please refer to quota and reservations:
http://mesos.apache.org/documentation/latest/quota/
http://mesos.apache.org/documentation/latest/reservation/

cheers,
- J

On Sat, Apr 22, 2017 at 7:16 AM, Eugen Cepoi <ce...@gmail.com> wrote:
> Hi,
>
> I've been trying to request resources for starving tasks (from a custom
> framework) but it seems that the master outside of logging the request
> doesn't do anything with it.
>
> https://github.com/apache/mesos/blob/50583f15f88fe251266dfc4093389453c13dd9ad/src/master/allocator/mesos/hierarchical.cpp#L678-L684
>
> Am I missing something?
>
> Thanks,
> Eugen