It worked. I was not sure how to add those extra parameters. Thanks lot. On Sun, Nov 26, 2017 at 10:40 AM, Bill Farner <wfar...@apache.org> wrote:
> The file to edit should indeed be /etc/default/aurora-scheduler, > specifically by populating EXTRA_SCHEDULER_ARGS: > > EXTRA_SCHEDULER_ARGS="-min_offer_hold_time=30secs" > > On Sun, Nov 26, 2017 at 6:57 AM, bigggyan <biggg...@gmail.com> wrote: > >> Thanks Mohit for the information. >> I have installed Apache Aurora as described in the Aurora installation >> page. I am not using puppet. *It is mentioned in the "scheduler >> configuration" page that we need to set the *-min_offer_hold_time >> variable. I am not very sure in which config file I need to add this >> parameter. I have tried in /etc/default/aurora-scheduler and >> /etc/default/cluster.json to add this additional parameter, but did not >> take effect. >> It will be great help if you can point me to some config file where I >> need to make the changes in 0.19 aurora installation on Ubuntu 16. >> >> >> >> On Sat, Nov 25, 2017 at 11:48 PM, Mohit Jaggi <mohit.ja...@uber.com> >> wrote: >> >>> Command line params on Aurora and Mesos control this. The "config file" for >>> this may depend on how your cluster is managed. It can be in puppet >>> manifest, for example. See below for the parameters. Docs are >>> http://mesos.apache.org/documentation/latest/configuration/master/ and >>> http://aurora.apache.org/documentation/latest/reference/scheduler-configuration/ >>> >>> On Aurora: >>> >>> -min_offer_hold_time (default (5, mins)) >>> Minimum amount of time to hold a resource offer before declining >>> >>> -offer_filter_duration (default (5, secs)) >>> Duration after which we expect Mesos to re-offer unused resources. A >>> short duration improves scheduling performance in smaller clusters, but >>> might lead to resource starvation for other frameworks if you run many >>> frameworks in your cluster. >>> -offer_hold_jitter_window (default (1, mins)) >>> Maximum amount of random jitter to add to the offer hold time window. >>> >>> >>> On Mesos: >>> --offer_timeout=VALUE Duration of time before an offer is rescinded >>> from a framework. This helps fairness when running frameworks that hold on >>> to offers, or frameworks that accidentally drop offers. If not set, offers >>> do not timeout. >>> >>> On Sat, Nov 25, 2017 at 7:49 PM, bigggyan <biggg...@gmail.com> wrote: >>> >>>> Hello Everyone, >>>> >>>> I am using Aurora along with other in-house frameworks and could see >>>> Aurora is holding resource offers for 3 mins which put other frameworks in >>>> starvation. Can anyone please suggest where to make the configuration >>>> changes to reduce the time? If possible please specify the config file >>>> location where I can make changes to change the parameter. >>>> >>>> Thanks >>>> Biggyan >>>> >>> >>> >> >