aboutsummaryrefslogtreecommitdiff
path: root/ec2
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2013-04-17 18:09:57 -0700
committerPatrick Wendell <pwendell@gmail.com>2013-05-08 21:46:01 -0700
commit73f8cd237e929ce6b0d80d1a5726b8fc67d7095f (patch)
tree7ad5b95b64e036a42a623ee372f6a157865c1fce /ec2
parent9ff8ad4bec5d2d750c314588d2bc75f32b8e7ff1 (diff)
downloadspark-73f8cd237e929ce6b0d80d1a5726b8fc67d7095f.tar.gz
spark-73f8cd237e929ce6b0d80d1a5726b8fc67d7095f.tar.bz2
spark-73f8cd237e929ce6b0d80d1a5726b8fc67d7095f.zip
Adding extra instance types
Diffstat (limited to 'ec2')
-rwxr-xr-xec2/spark_ec2.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py
index aa73363eea..0ba5335bba 100755
--- a/ec2/spark_ec2.py
+++ b/ec2/spark_ec2.py
@@ -452,7 +452,9 @@ def get_num_disks(instance_type):
"m2.4xlarge": 2,
"cc1.4xlarge": 2,
"cc2.8xlarge": 4,
- "cg1.4xlarge": 2
+ "cg1.4xlarge": 2,
+ "hs1.8xlarge": 24,
+ "cr1.8xlarge": 2
}
if instance_type in disks_by_instance:
return disks_by_instance[instance_type]