GitHub user gkc2104 opened a pull request:
https://github.com/apache/spark/pull/17846
[SPARK-20562][MESOS] Support for declining offers under Unavailability.
## What changes were proposed in this pull request?
Support Mesos Maintenance by making the Spark Scheduler only accept offers
that won't be under maintenance.
Add a configurable threshold which is the users estimate of how long a task
would take up an offer for and whether the Scheduler can schedule a task on
that offer.
## How was this patch tested?
Unit tests that ensure that offers with unavailability set are
appropriately handled.
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/metamx/spark supportMaintainence-squash
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17846.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #17846
----
commit cfe16c1fb74c713fc17ba57ab6eefa3186cfc8ae
Author: Kamal Gurala <[email protected]>
Date: 2017-04-20T23:57:04Z
[Backend-767] Handling Unavailablilty
[Backend-767] doc edits
[Backend-767] Added tests
[Backend-767] Fixed tests and cleaup
[Backend-767] Updated implementations
[Backend-767] Updated implementations
[Backend-767] Updated implementations and more tests
[Backend-767] Formatting
Fixed format
[BACKEND-733] Updated implementation
[BACKEND-767] Added fine-grained support
commit 607299041ce774fd6e3f646235f55e59e964fe57
Author: Kamal Gurala <[email protected]>
Date: 2017-05-03T19:20:51Z
Codestyle Edits
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]