Skip to content

Commit 16b6d18

Browse files
ericktAndrew Or
authored andcommitted
[SPARK-10594] [YARN] Remove reference to --num-executors, add --properties-file
`ApplicationMaster` no longer has the `--num-executors` flag, and had an undocumented `--properties-file` configuration option. cc srowen Author: Erick Tryzelaar <[email protected]> Closes #8754 from erickt/master.
1 parent 217e496 commit 16b6d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMasterArguments.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ class ApplicationMasterArguments(val args: Array[String]) {
105105
| place on the PYTHONPATH for Python apps.
106106
| --args ARGS Arguments to be passed to your application's main class.
107107
| Multiple invocations are possible, each will be passed in order.
108-
| --num-executors NUM Number of executors to start (Default: 2)
109108
| --executor-cores NUM Number of cores for the executors (Default: 1)
110109
| --executor-memory MEM Memory per executor (e.g. 1000M, 2G) (Default: 1G)
110+
| --properties-file FILE Path to a custom Spark properties file.
111111
""".stripMargin)
112112
// scalastyle:on println
113113
System.exit(exitCode)

0 commit comments

Comments
 (0)