From 6e50ded459139dd5e540971363d940e81a3641ae Mon Sep 17 00:00:00 2001 From: Patrick Wendell Date: Sun, 4 May 2014 16:04:54 -0700 Subject: [PATCH] HOTFIX: Backwards-compatiblity fix for #46 --- deploy_templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy_templates.py b/deploy_templates.py index 99b5568..f739632 100755 --- a/deploy_templates.py +++ b/deploy_templates.py @@ -63,7 +63,7 @@ "default_spark_mem": "%dm" % spark_mb, "spark_worker_instances": "%d" % worker_instances, "spark_worker_cores": "%d" % worker_cores, - "spark_master_opts": os.getenv("SPARK_MASTER_OPTS"), + "spark_master_opts": os.getenv("SPARK_MASTER_OPTS", ""), "spark_version": os.getenv("SPARK_VERSION"), "shark_version": os.getenv("SHARK_VERSION"), "hadoop_major_version": os.getenv("HADOOP_MAJOR_VERSION"),