diff --git a/sbin/start-history-server.sh b/sbin/start-history-server.sh index e30493da32a7a5b4d1f67c98a16436b495b6bf89..580ab471b8a79b679912a249edc42993eaafedcf 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."