-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chronos should set a non-default filter when declining offers #509
Comments
gkleiman
added a commit
that referenced
this issue
Aug 6, 2015
…ct offers `--revive_offers_for_new_jobs` if true, revive offers is called when a new job is added to the `TaskManager`. Also note, that Mesos only filters offers that are a strict sub set of a rejected offer. `--decline_offer_duration` allows configuring the duration for which unused offers are declined. `--min_revive_offers_interval` if `--revive_offers_for_new_jobs` is specified, do not call reviveOffers more often than this interval. It defaults to 5 seconds.
gkleiman
added a commit
that referenced
this issue
Aug 7, 2015
…ct offers `--revive_offers_for_new_jobs` if true, revive offers is called when a new job is added to the `TaskManager`. Also note, that Mesos only filters offers that are a strict sub set of a rejected offer. `--decline_offer_duration` allows configuring the duration for which unused offers are declined. `--min_revive_offers_interval` if `--revive_offers_for_new_jobs` is specified, do not call reviveOffers more often than this interval. It defaults to 5 seconds.
gkleiman
added a commit
that referenced
this issue
Aug 7, 2015
…ct offers `--revive_offers_for_new_jobs` if true, revive offers is called when a new job is added to the `TaskManager`. Also note, that Mesos only filters offers that are a strict sub set of a rejected offer. `--decline_offer_duration` allows configuring the duration for which unused offers are declined. `--min_revive_offers_interval` if `--revive_offers_for_new_jobs` is specified, do not call reviveOffers more often than this interval. It defaults to 5 seconds.
gkleiman
added a commit
that referenced
this issue
Aug 7, 2015
…ct offers `--revive_offers_for_new_jobs` if true, revive offers is called when a new job is added to the `TaskManager`. Also note, that Mesos only filters offers that are a strict sub set of a rejected offer. `--decline_offer_duration` allows configuring the duration for which unused offers are declined. `--min_revive_offers_interval` if `--revive_offers_for_new_jobs` is specified, do not call reviveOffers more often than this interval. It defaults to 5 seconds.
gkleiman
added a commit
that referenced
this issue
Aug 7, 2015
…ct offers `--revive_offers_for_new_jobs` if true, revive offers is called when a new job is added to the `TaskManager`. Also note, that Mesos only filters offers that are a strict sub set of a rejected offer. `--decline_offer_duration` allows configuring the duration for which unused offers are declined. `--min_revive_offers_interval` if `--revive_offers_for_new_jobs` is specified, do not call reviveOffers more often than this interval. It defaults to 5 seconds.
gkleiman
added a commit
that referenced
this issue
Aug 11, 2015
Fixes #509 - Flag for reviveOffers and the duration for which to reject offers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use case: As a cluster operator I would like to run many frameworks (possibly multiple Chronos instances) on the same Mesos cluster. I'd like to mitigate offer starvation; that is, schedulers with work to do should receive offers from the Mesos master.
From the SchedulerDriver documentation, Chronos can use both the overloaded definition of
declineOffer
to set filters:and clear them later on.
Proposal: _When the task queue becomes empty, decline subsequent offers with a long timeout (say, max double value). When the task queue becomes non-empty, invoke reviveOffers.
NOTE: This issue is analogous to d2iq-archive/marathon#1931
The text was updated successfully, but these errors were encountered: