Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/731#discussion_r27089134
--- Diff:
core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala ---
@@ -498,11 +498,18 @@ private[spark] class SparkSubmitArguments(args:
Seq[String], env: Map[String, St
|
| Spark standalone and Mesos only:
| --total-executor-cores NUM Total cores for all executors.
- |
+ |
+ | Spark standalone and YARN only:
+ | --executor-cores NUM Number of cores per executor.
Default value: 1 (YARN), 0 (
+ | Standalone). In Standalone mode,
Spark will try to run more
+ | than 1 executors on each worker in
standalone mode;
+ | otherwise, only one executor on
each executor is allowed
+ | (the executor will take all
available cores of the worker at
+ | the moment.
--- End diff --
I don't understand what this is saying. Maybe you mean
```
Number of cores to use on each executor. In standalone mode,
the executor will use all available cores on the worker if this
is not specified. (Default: 1 in YARN mode, all available cores
in standalone mode)
```
---
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]