Skip to content

Commit 9f04db1

Browse files
witgoandrewor14
authored andcommitted
SPARK-2481: The environment variables SPARK_HISTORY_OPTS is covered in spark-env.sh
Author: witgo <[email protected]> Author: GuoQiang Li <[email protected]> Closes apache#1341 from witgo/history_env and squashes the following commits: b4fd9f8 [GuoQiang Li] review commit 0ebe401 [witgo] *-history-server.sh load spark-config.sh
1 parent 4243bb6 commit 9f04db1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sbin/start-history-server.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
sbin=`dirname "$0"`
2828
sbin=`cd "$sbin"; pwd`
2929

30+
. "$sbin/spark-config.sh"
31+
. "$SPARK_PREFIX/bin/load-spark-env.sh"
32+
3033
if [ $# != 0 ]; then
3134
echo "Using command line arguments for setting the log directory is deprecated. Please "
3235
echo "set the spark.history.fs.logDirectory configuration option instead."

0 commit comments

Comments
 (0)