Skip to content

Commit

Permalink
[SPARK-19083] sbin/start-history-server.sh script use of $@ without q…
Browse files Browse the repository at this point in the history
…uotes

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

Closes apache#16484 from zuotingbing/sh.
  • Loading branch information
zuotingbing authored and Marcelo Vanzin committed Jan 6, 2017
1 parent 2e139ee commit a9a1373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/start-history-server.sh
Expand Up @@ -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 "$@"

0 comments on commit a9a1373

Please sign in to comment.