Thanks Vinod. Yea it would be nice to have the feature to decline offers
from all slaves. I have scenarios in my app where the user can disable
system wide job scheduling/processing or there are cases where jobs are not
scheduled to run for extended periods of time during the day. Disconnecting
and reconnecting to the master are not ideal work around since I may have
long tail jobs running on slaves even though I have no interest in new
offers.

One related question, if I do decline offers from a slave for a set period
of time, the Scheduler.requestResources() call will trigger the Mesos to
start sending me offers as soon as it can and ignore the previous decline
time period, correct?

Thanks,
Sam Taha

http://www.grandlogic.com


On Sun, Sep 15, 2013 at 6:04 PM, Vinod Kone <[email protected]> wrote:

> Hey Sam. You can set a timeout in the "Filters" when you decline an offer.
> That will ensure that the framework won't be offered resources for that
> slave for the timeout. There is currently no way to decline offers for all
> slaves, you have to do it per offer/slave.
>
>
> On Sun, Sep 15, 2013 at 4:53 AM, Sam Taha <[email protected]> wrote:
>
>> If I want decline ALL offers for say the next 5 minutes, is there an
>> effective way to do that without completely stopping the framework and
>> disconnecting from the master?
>>
>> Write now I am just shutting down the driver and then starting new
>> driver/scheduler when new jobs are ready.
>>
>> Thanks,
>> Sam Taha
>>
>> http://www.grandlogic.com
>>
>
>

Reply via email to