diff options
author | Bernardo Gomez Palacio <bernardo.gomezpalacio@gmail.com> | 2014-03-29 19:49:22 -0700 |
---|---|---|
committer | Aaron Davidson <aaron@databricks.com> | 2014-03-29 19:49:22 -0700 |
commit | fda86d8b46a1cc484d11ac5446d8cc2a86429b9b (patch) | |
tree | 3f9d12736e49f1bc45a18b4a4eaf40651a7875fd /core/src | |
parent | af3746ce0d724dc624658a2187bde188ab26d084 (diff) | |
download | spark-fda86d8b46a1cc484d11ac5446d8cc2a86429b9b.tar.gz spark-fda86d8b46a1cc484d11ac5446d8cc2a86429b9b.tar.bz2 spark-fda86d8b46a1cc484d11ac5446d8cc2a86429b9b.zip |
[SPARK-1186] : Enrich the Spark Shell to support additional arguments.
Enrich the Spark Shell functionality to support the following options.
```
Usage: spark-shell [OPTIONS]
OPTIONS:
-h --help : Print this help information.
-c --cores : The maximum number of cores to be used by the Spark Shell.
-em --executor-memory : The memory used by each executor of the Spark Shell, the number
is followed by m for megabytes or g for gigabytes, e.g. "1g".
-dm --driver-memory : The memory used by the Spark Shell, the number is followed
by m for megabytes or g for gigabytes, e.g. "1g".
-m --master : A full string that describes the Spark Master, defaults to "local"
e.g. "spark://localhost:7077".
--log-conf : Enables logging of the supplied SparkConf as INFO at start of the
Spark Context.
e.g.
spark-shell -m spark://localhost:7077 -c 4 -dm 512m -em 2g
```
**Note**: this commit reflects the changes applied to _master_ based on [5d98cfc1].
[ticket: SPARK-1186] : Enrich the Spark Shell to support additional arguments.
https://spark-project.atlassian.net/browse/SPARK-1186
Author : bernardo.gomezpalcio@gmail.com
Author: Bernardo Gomez Palacio <bernardo.gomezpalacio@gmail.com>
Closes #116 from berngp/feature/enrich-spark-shell and squashes the following commits:
c5f455f [Bernardo Gomez Palacio] [SPARK-1186] : Enrich the Spark Shell to support additional arguments.
Diffstat (limited to 'core/src')
0 files changed, 0 insertions, 0 deletions