aboutsummaryrefslogtreecommitdiff
path: root/ec2/deploy.generic/root/spark-ec2/ec2-variables.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ec2/deploy.generic/root/spark-ec2/ec2-variables.sh')
-rw-r--r--ec2/deploy.generic/root/spark-ec2/ec2-variables.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/ec2/deploy.generic/root/spark-ec2/ec2-variables.sh b/ec2/deploy.generic/root/spark-ec2/ec2-variables.sh
new file mode 100644
index 0000000000..948cb5b1ec
--- /dev/null
+++ b/ec2/deploy.generic/root/spark-ec2/ec2-variables.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# These variables are automatically filled in by the mesos-ec2 script.
+export MESOS_MASTERS="{{master_list}}"
+export MESOS_SLAVES="{{slave_list}}"
+export MESOS_ZOO_LIST="{{zoo_list}}"
+export MESOS_HDFS_DATA_DIRS="{{hdfs_data_dirs}}"
+export MESOS_MAPRED_LOCAL_DIRS="{{mapred_local_dirs}}"
+export MESOS_SPARK_LOCAL_DIRS="{{spark_local_dirs}}"
+export MODULES="{{modules}}"
+export SWAP="{{swap}}"