Skip to content

Commit 7b4203a

Browse files
harveyfengpwendell
authored andcommitted
Add Spark v0.9.1 to ec2 launch script and use it as the default
Mainly ported from branch-0.9. Author: Harvey Feng <hyfeng224@gmail.com> Closes apache#385 from harveyfeng/0.9.1-ec2 and squashes the following commits: 769ac2f [Harvey Feng] Add Spark v0.9.1 to ec2 launch script and use it as the default
1 parent 5cd11d5 commit 7b4203a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ec2/spark_ec2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def parse_args():
7070
"slaves across multiple (an additional $0.01/Gb for bandwidth" +
7171
"between zones applies)")
7272
parser.add_option("-a", "--ami", help="Amazon Machine Image ID to use")
73-
parser.add_option("-v", "--spark-version", default="0.9.0",
73+
parser.add_option("-v", "--spark-version", default="0.9.1",
7474
help="Version of Spark to use: 'X.Y.Z' or a specific git hash")
7575
parser.add_option("--spark-git-repo",
7676
default="https://github.com/apache/spark",
@@ -157,7 +157,7 @@ def is_active(instance):
157157

158158
# Return correct versions of Spark and Shark, given the supplied Spark version
159159
def get_spark_shark_version(opts):
160-
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"}
160+
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"}
161161
version = opts.spark_version.replace("v", "")
162162
if version not in spark_shark_map:
163163
print >> stderr, "Don't know about Spark version: %s" % version

0 commit comments

Comments
 (0)