GitHub user felixb opened a pull request:

    https://github.com/apache/spark/pull/8639

    [SPARK-10471] [CORE] [MESOS] prevent getting offers for unmet constraints

    this change rejects offers for slaves with unmet constraints for 120s to 
mitigate offer starvation.
    this prevents mesos to send us these offers again and again.
    in return, we get more offers for slaves which might meet our constraints.
    and it enables mesos to send the rejected offers to other frameworks.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/felixb/spark 
decline_offers_constraint_mismatch

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/8639.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 #8639
    
----
commit c1efb1fdd20f45260040d7f4dd5cd3aef13c5558
Author: Felix Bechstein <[email protected]>
Date:   2015-09-04T12:29:22Z

    [SPARK-10471] [CORE] [MESOS] prevent getting offers for unmet constraints
    
    this change rejects offers for slaves with unmet constraints for 120s to 
mitigate offer starvation.
    this prevents mesos to send us these offers again and again.
    in return, we get more offers for slaves which might meet our constraints.
    and it enables mesos to send the rejected offers to other frameworks.

----


---
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]

Reply via email to