Skip to content

Commit

Permalink
Set EC2 version to 1.1.0 and update version map
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaram committed Sep 23, 2014
1 parent 11c10df commit bb0dd16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ec2/spark_ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from boto.ec2.blockdevicemapping import BlockDeviceMapping, BlockDeviceType, EBSBlockDeviceType
from boto import ec2

DEFAULT_SPARK_VERSION = "1.0.0"
DEFAULT_SPARK_VERSION = "1.1.0"

# A URL prefix from which to fetch AMI information
AMI_PREFIX = "https://raw.github.com/mesos/spark-ec2/v2/ami-list"
Expand Down Expand Up @@ -218,7 +218,7 @@ def is_active(instance):
def get_spark_shark_version(opts):
spark_shark_map = {
"0.7.3": "0.7.1", "0.8.0": "0.8.0", "0.8.1": "0.8.1", "0.9.0": "0.9.0", "0.9.1": "0.9.1",
"1.0.0": "1.0.0"
"1.0.0": "1.0.0", "1.0.1": "1.0.1", "1.0.2": "1.0.2", "1.1.0": "1.1.0"
}
version = opts.spark_version.replace("v", "")
if version not in spark_shark_map:
Expand Down

0 comments on commit bb0dd16

Please sign in to comment.