This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Surround {{spark_worker_instances}} with quotes

  • Loading branch information...
saurfang committed Sep 15, 2015
1 parent 03430c6 commit c4bcbd619feb7d61f2df28192fb2d0d3429b52a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/root/spark/conf/spark-env.sh
@@ -4,7 +4,7 @@ export SPARK_LOCAL_DIRS="{{spark_local_dirs}}"
# Standalone cluster options
export SPARK_MASTER_OPTS="{{spark_master_opts}}"
-if [ -n {{spark_worker_instances}} ]; then
+if [ -n "{{spark_worker_instances}}" ]; then
export SPARK_WORKER_INSTANCES={{spark_worker_instances}}
fi
export SPARK_WORKER_CORES={{spark_worker_cores}}

0 comments on commit c4bcbd6

Please sign in to comment.