GitHub user atongen opened a pull request:
https://github.com/apache/spark/pull/10949
[SPARK-12832][MESOS] mesos scheduler respect agent attributes
We have a similar need to what is proposed in
https://github.com/apache/spark/pull/10768 by @Astralidea and reviewed by
@dragos. This pull request implements the suggestion in the comments of that PR.
It takes logic similar to what is found in
https://github.com/apache/spark/pull/5563 for the executors and applies it to
the mesos cluster scheduler.
The scheduler will now only accept offers from agents with attributes
matching the constraints from the submission.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/atongen/spark mesos-scheduler-constraints
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10949.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 #10949
----
commit 7c6650dceed4eaf9e9f50542c76c88fccf7ac4a2
Author: Andrew Tongen <[email protected]>
Date: 2016-01-27T14:16:45Z
mesos scheduler respect agent constraints
----
---
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]