Repository: spark
Updated Branches:
  refs/heads/master 2e139eed3 -> a9a137377


[SPARK-19083] sbin/start-history-server.sh script use of $@ without quotes

JIRA Issue: https://issues.apache.org/jira/browse/SPARK-19083#

sbin/start-history-server.sh script use of $ without quotes, this will affect 
the length of args which used in HistoryServerArguments::parse(args: 
List[String])

Author: zuotingbing <[email protected]>

Closes #16484 from zuotingbing/sh.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/a9a13737
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a9a13737
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a9a13737

Branch: refs/heads/master
Commit: a9a137377e4cf293325ccd7368698f20b5d6b98a
Parents: 2e139ee
Author: zuotingbing <[email protected]>
Authored: Fri Jan 6 09:57:49 2017 -0800
Committer: Marcelo Vanzin <[email protected]>
Committed: Fri Jan 6 09:57:49 2017 -0800

----------------------------------------------------------------------
 sbin/start-history-server.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/a9a13737/sbin/start-history-server.sh
----------------------------------------------------------------------
diff --git a/sbin/start-history-server.sh b/sbin/start-history-server.sh
index 6851d99..38a43b9 100755
--- a/sbin/start-history-server.sh
+++ b/sbin/start-history-server.sh
@@ -31,4 +31,4 @@ fi
 . "${SPARK_HOME}/sbin/spark-config.sh"
 . "${SPARK_HOME}/bin/load-spark-env.sh"
 
-exec "${SPARK_HOME}/sbin"/spark-daemon.sh start 
org.apache.spark.deploy.history.HistoryServer 1 $@
+exec "${SPARK_HOME}/sbin"/spark-daemon.sh start 
org.apache.spark.deploy.history.HistoryServer 1 "$@"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to