Skip to content
Snippets Groups Projects
Commit 02f37ee8 authored by Patrick Wendell's avatar Patrick Wendell
Browse files

Merge pull request #39 from pwendell/master

Adding Shark 0.7.1 to EC2 scripts

This adds a newer version of Shark to the ec2 scripts. I've tested this for both Hadoop1 and Hadoop2 clusters.
parents 213b70a2 3745a182
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,7 @@ def is_active(instance): ...@@ -155,7 +155,7 @@ def is_active(instance):
# Return correct versions of Spark and Shark, given the supplied Spark version # Return correct versions of Spark and Shark, given the supplied Spark version
def get_spark_shark_version(opts): def get_spark_shark_version(opts):
spark_shark_map = {"0.7.3": "0.7.0", "0.8.0": "0.8.0"} spark_shark_map = {"0.7.3": "0.7.1", "0.8.0": "0.8.0"}
version = opts.spark_version.replace("v", "") version = opts.spark_version.replace("v", "")
if version not in spark_shark_map: if version not in spark_shark_map:
print >> stderr, "Don't know about Spark version: %s" % version print >> stderr, "Don't know about Spark version: %s" % version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment