GitHub user dragos opened a pull request:
https://github.com/apache/spark/pull/9027
[SPARK-7874][MESOS] Donât allocate more than spark.cores.max in
fine-grained mode.
Currently only coarse-grained mode observes `spark.cores.max`. The
fine-grained mode should follow the same limit, and not go above the defined
maximum cores.
There's some duplication of logic between the coarse-grained and
fine-grained mode. I created
[SPARK-10444](https://issues.apache.org/jira/browse/SPARK-10444) to fix that.
Rework of #8671
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dragos/spark
issue/mesos/fine-grained-maxCores-wip
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9027.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 #9027
----
commit f37d3e202df0de90ae7eed7cba2abb2dfba79f76
Author: Iulian Dragos <[email protected]>
Date: 2015-09-08T11:49:14Z
Donât allocate more than spark.cores.max in fine-grained mode.
commit 5817d68836fed014841afb20676b23e09fcd96dd
Author: Iulian Dragos <[email protected]>
Date: 2015-09-17T14:30:21Z
Updated tests and reformulated the condition to make it clearer that we
canât go negative.
----
---
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]