diff options
Diffstat (limited to 'sbin/stop-slaves.sh')
-rwxr-xr-x | sbin/stop-slaves.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/stop-slaves.sh b/sbin/stop-slaves.sh index 6bf393ccd4..7c2201100e 100755 --- a/sbin/stop-slaves.sh +++ b/sbin/stop-slaves.sh @@ -22,9 +22,7 @@ sbin=`cd "$sbin"; pwd` . "$sbin/spark-config.sh" -if [ -f "${SPARK_CONF_DIR}/spark-env.sh" ]; then - . "${SPARK_CONF_DIR}/spark-env.sh" -fi +. "$SPARK_PREFIX/bin/load-spark-env.sh" # do before the below calls as they exec if [ -e "$sbin"/../tachyon/bin/tachyon ]; then |