You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Sam Taha <ta...@gmail.com> on 2013/09/29 19:42:05 UTC

What is the recommended use of SchedulerDriver.requestResources

What is the recommended use of SchedulerDriver.requestResources? Does
calling this change what or when offers might be presented to my framework
via Scheduler.resourceOffers() ?

Does this just give "hints" to the master as to what kind of offers to
present to each particular framework? I thought mesos offers up ALL the
resources to the framework that uses least amount of resources.

Thanks,
Sam Taha

http://www.grandlogic.com

Re: What is the recommended use of SchedulerDriver.requestResources

Posted by Sam Taha <ta...@gmail.com>.
yea that would be nice to have to improve more efficient allocation
especially when multiple frameworks are involved.

Thanks,
Sam Taha

http://www.grandlogic.com


On Sun, Sep 29, 2013 at 6:53 PM, Vinod Kone <vi...@gmail.com> wrote:

> Hey Sam. "requestResources" call is currently a no-op. In the future, we
> plan to use this to provide hints to master/allocator to make smarter
> allocation decisions.
>
>
> On Sun, Sep 29, 2013 at 10:42 AM, Sam Taha <ta...@gmail.com> wrote:
>
>> What is the recommended use of SchedulerDriver.requestResources? Does
>> calling this change what or when offers might be presented to my framework
>> via Scheduler.resourceOffers() ?
>>
>> Does this just give "hints" to the master as to what kind of offers to
>> present to each particular framework? I thought mesos offers up ALL the
>> resources to the framework that uses least amount of resources.
>>
>> Thanks,
>> Sam Taha
>>
>> http://www.grandlogic.com
>>
>
>

Re: What is the recommended use of SchedulerDriver.requestResources

Posted by Vinod Kone <vi...@gmail.com>.
Hey Sam. "requestResources" call is currently a no-op. In the future, we
plan to use this to provide hints to master/allocator to make smarter
allocation decisions.


On Sun, Sep 29, 2013 at 10:42 AM, Sam Taha <ta...@gmail.com> wrote:

> What is the recommended use of SchedulerDriver.requestResources? Does
> calling this change what or when offers might be presented to my framework
> via Scheduler.resourceOffers() ?
>
> Does this just give "hints" to the master as to what kind of offers to
> present to each particular framework? I thought mesos offers up ALL the
> resources to the framework that uses least amount of resources.
>
> Thanks,
> Sam Taha
>
> http://www.grandlogic.com
>