diff options
author | Kenichi Maehashi <webmaster@kenichimaehashi.com> | 2015-07-22 16:15:44 -0700 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2015-07-22 16:15:44 -0700 |
commit | 430cd7815dc7875edd126af4b90752ba8a380cf2 (patch) | |
tree | 447fe51e3434f5bdba13e8d61f46aee0be7a1bcc /bin/spark-shell2.cmd | |
parent | 798dff7b4baa952c609725b852bcb6a9c9e5a317 (diff) | |
download | spark-430cd7815dc7875edd126af4b90752ba8a380cf2.tar.gz spark-430cd7815dc7875edd126af4b90752ba8a380cf2.tar.bz2 spark-430cd7815dc7875edd126af4b90752ba8a380cf2.zip |
[SPARK-9180] fix spark-shell to accept --name option
This patch fixes [[SPARK-9180]](https://issues.apache.org/jira/browse/SPARK-9180).
Users can now set the app name of spark-shell using `spark-shell --name "whatever"`.
Author: Kenichi Maehashi <webmaster@kenichimaehashi.com>
Closes #7512 from kmaehashi/fix-spark-shell-app-name and squashes the following commits:
e24991a [Kenichi Maehashi] use setIfMissing instead of setAppName
18aa4ad [Kenichi Maehashi] fix spark-shell to accept --name option
Diffstat (limited to 'bin/spark-shell2.cmd')
-rw-r--r-- | bin/spark-shell2.cmd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spark-shell2.cmd b/bin/spark-shell2.cmd index 251309d67f..b9b0f510d7 100644 --- a/bin/spark-shell2.cmd +++ b/bin/spark-shell2.cmd @@ -32,4 +32,4 @@ if "x%SPARK_SUBMIT_OPTS%"=="x" ( set SPARK_SUBMIT_OPTS="%SPARK_SUBMIT_OPTS% -Dscala.usejavacp=true" :run_shell -%SPARK_HOME%\bin\spark-submit2.cmd --class org.apache.spark.repl.Main %* +%SPARK_HOME%\bin\spark-submit2.cmd --class org.apache.spark.repl.Main --name "Spark shell" %* |