aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsbin/start-history-server.sh3
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."