aboutsummaryrefslogtreecommitdiff
path: root/ec2/deploy.generic
diff options
context:
space:
mode:
authorShivaram Venkataraman <shivaram@eecs.berkeley.edu>2013-01-26 22:48:39 -0800
committerShivaram Venkataraman <shivaram@eecs.berkeley.edu>2013-01-26 22:48:39 -0800
commitd012cfa0e8b29a1a7412bdff41eb159c4afe7d34 (patch)
tree4707ab5ee941ee9d35c70adf87b5f795691c42cf /ec2/deploy.generic
parent2435b7b5b77fe3e30fc8175983460ceb7a70632e (diff)
downloadspark-d012cfa0e8b29a1a7412bdff41eb159c4afe7d34.tar.gz
spark-d012cfa0e8b29a1a7412bdff41eb159c4afe7d34.tar.bz2
spark-d012cfa0e8b29a1a7412bdff41eb159c4afe7d34.zip
Update spark_ec2.py to use new spark-ec2 scripts
Diffstat (limited to 'ec2/deploy.generic')
-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}}"