GitHub user kalvinnchau opened a pull request:
https://github.com/apache/spark/pull/17413
[SPARK-20085] [MESOS] Configurable mesos labels for executors
## What changes were proposed in this pull request?
Add spark.mesos.task.labels configuration option to add mesos key:value
labels to the executor.
"k1:v1,k2:v2" as the format, colons separating key-value and commas to
list out more than one.
Discussion of labels with @mgummelt at #17404
## How was this patch tested?
Added unit tests to verify labels were added correctly, with incorrect
labels being ignored and added a test to test the name of the executor.
Tested with: `./build/sbt -Pmesos mesos/test`
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/kalvinnchau/spark mesos-labels
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17413.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 #17413
----
commit c57afede86247f4085a7b10518c323bc9c95bc38
Author: Kalvin Chau <[email protected]>
Date: 2017-03-24T20:04:21Z
add configurable mesos labels for coarse-grained executors
----
---
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]