[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 <erick.tryzelaar@gmail.com>

Closes #8754 from erickt/master.
This commit is contained in:
Erick Tryzelaar 2015-09-14 15:02:38 -07:00 committed by Andrew Or
parent 217e496444
commit 16b6d18613

View file

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