diff options
Diffstat (limited to 'bin/load-spark-env.sh')
-rw-r--r-- | bin/load-spark-env.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/load-spark-env.sh b/bin/load-spark-env.sh index 476dd82655..d425f9feaa 100644 --- a/bin/load-spark-env.sh +++ b/bin/load-spark-env.sh @@ -30,6 +30,9 @@ if [ -z "$SPARK_ENV_LOADED" ]; then use_conf_dir=${SPARK_CONF_DIR:-"$parent_dir/conf"} if [ -f "${use_conf_dir}/spark-env.sh" ]; then + # Promote all variable declarations to environment (exported) variables + set -a . "${use_conf_dir}/spark-env.sh" + set +a fi fi |