Skip to content

Commit

Permalink
SPARK-2481: The environment variables SPARK_HISTORY_OPTS is covered i…
Browse files Browse the repository at this point in the history
…n 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
  • Loading branch information
witgo authored and andrewor14 committed Aug 26, 2014
1 parent 4243bb6 commit 9f04db1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sbin/start-history-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 9f04db1

Please sign in to comment.