GitHub user kalvinnchau opened a pull request:
https://github.com/apache/spark/pull/17404
[SPARK-20078] [MESOS] Mesos executor configurability for task name and
labels
## What changes were proposed in this pull request?
Adding configurable mesos executor names and labels using
`spark.mesos.task.name` and `spark.mesos.task.labels`.
Labels were defined as `k1:v1,k2:v2`.
@mgummelt
## 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-config
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17404.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 #17404
----
commit 84656e3b74058f8e736cba880bf522109a77b0c6
Author: Kalvin Chau <[email protected]>
Date: 2017-03-23T23:16:41Z
add configurable mesos.task.name and mesos.task.labels
commit bc57ba0c59d3f997f2df9859077b72a3c3f96b46
Author: Kalvin Chau <[email protected]>
Date: 2017-03-23T23:27:48Z
add test to verify incorrect labels are not added
commit 7bf49f8c19bfc76e802334d40a5854bb915aa05f
Author: Kalvin Chau <[email protected]>
Date: 2017-03-23T23:29:00Z
fix typo
----
---
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]