diff options
author | witgo <witgo@qq.com> | 2014-08-25 19:22:27 -0700 |
---|---|---|
committer | Andrew Or <andrewor14@gmail.com> | 2014-08-25 19:22:27 -0700 |
commit | 9f04db17e50568d5580091add9100693177d7c4f (patch) | |
tree | 3672139c7f12f868b57883639803fdc8a1b4776d /sbin | |
parent | 4243bb6634aca5b9ddf6d42778aa7b4866ce6256 (diff) | |
download | spark-9f04db17e50568d5580091add9100693177d7c4f.tar.gz spark-9f04db17e50568d5580091add9100693177d7c4f.tar.bz2 spark-9f04db17e50568d5580091add9100693177d7c4f.zip |
SPARK-2481: The environment variables SPARK_HISTORY_OPTS is covered in spark-env.sh
Author: witgo <witgo@qq.com>
Author: GuoQiang Li <witgo@qq.com>
Closes #1341 from witgo/history_env and squashes the following commits:
b4fd9f8 [GuoQiang Li] review commit
0ebe401 [witgo] *-history-server.sh load spark-config.sh
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/start-history-server.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/start-history-server.sh b/sbin/start-history-server.sh index e30493da32..580ab471b8 100755 --- a/sbin/start-history-server.sh +++ b/sbin/start-history-server.sh @@ -27,6 +27,9 @@ sbin=`dirname "$0"` sbin=`cd "$sbin"; pwd` +. "$sbin/spark-config.sh" +. "$SPARK_PREFIX/bin/load-spark-env.sh" + if [ $# != 0 ]; then echo "Using command line arguments for setting the log directory is deprecated. Please " echo "set the spark.history.fs.logDirectory configuration option instead." |