You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by va...@apache.org on 2017/01/06 17:57:54 UTC

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

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 <zu...@zte.com.cn>

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 <zu...@zte.com.cn>
Authored: Fri Jan 6 09:57:49 2017 -0800
Committer: Marcelo Vanzin <va...@cloudera.com>
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: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org