Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/5063#discussion_r28386662
--- Diff: docs/running-on-mesos.md ---
@@ -211,6 +211,16 @@ See the [configuration page](configuration.html) for
information on Spark config
</td>
</tr>
<tr>
+ <td><code>spark.mesos.executor.cores</code></td>
+ <td>1.0</td>
+ <td>
+ Set the amount of cores, which can be a floating point number, to
request for running a Mesos executor.
+ The setting controls the number of cores allocated to the executor not
for use by tasks. By default,
+ executor will use the amount of cores even though no task is running
on an executor. This setting is
+ only used for Mesos fine-grained mode.
--- End diff --
This is a little verbose and ambiguous. Can we rephrase this as:
```
(Fine-grained mode only) Number of cores to give each Mesos executor. This
does not
include the cores used to run the Spark tasks themselves. In other words,
even if no Spark
task is being run, the Mesos executor will occupy the number of cores
configured here.
```
---
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]