Repository: spark
Updated Branches:
  refs/heads/branch-2.1 4ca178880 -> ce9bfe6db


[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.

(cherry picked from commit a9a137377e4cf293325ccd7368698f20b5d6b98a)
Signed-off-by: Marcelo Vanzin <[email protected]>


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

Branch: refs/heads/branch-2.1
Commit: ce9bfe6db63582d632f7d57cbf37ee7b29135198
Parents: 4ca1788
Author: zuotingbing <[email protected]>
Authored: Fri Jan 6 09:57:49 2017 -0800
Committer: Marcelo Vanzin <[email protected]>
Committed: Fri Jan 6 09:57:58 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/ce9bfe6d/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