Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs525-sp18-g07
spark
Commits
2484b846
Commit
2484b846
authored
11 years ago
by
Patrick Wendell
Browse files
Options
Downloads
Patches
Plain Diff
Bumping EC2 default version in master to `0.8.0`.
parent
232765f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ec2/spark_ec2.py
+2
-2
2 additions, 2 deletions
ec2/spark_ec2.py
with
2 additions
and
2 deletions
ec2/spark_ec2.py
+
2
−
2
View file @
2484b846
...
...
@@ -70,7 +70,7 @@ def parse_args():
"
slaves across multiple (an additional $0.01/Gb for bandwidth
"
+
"
between zones applies)
"
)
parser
.
add_option
(
"
-a
"
,
"
--ami
"
,
help
=
"
Amazon Machine Image ID to use
"
)
parser
.
add_option
(
"
-v
"
,
"
--spark-version
"
,
default
=
"
0.
7.3
"
,
parser
.
add_option
(
"
-v
"
,
"
--spark-version
"
,
default
=
"
0.
8.0
"
,
help
=
"
Version of Spark to use:
'
X.Y.Z
'
or a specific git hash
"
)
parser
.
add_option
(
"
--spark-git-repo
"
,
default
=
"
https://github.com/mesos/spark
"
,
...
...
@@ -155,7 +155,7 @@ def is_active(instance):
# Return correct versions of Spark and Shark, given the supplied Spark version
def
get_spark_shark_version
(
opts
):
spark_shark_map
=
{
"
0.7.3
"
:
"
0.7.0
"
}
spark_shark_map
=
{
"
0.7.3
"
:
"
0.7.0
"
,
"
0.8.0
"
:
"
0.8.0
"
}
version
=
opts
.
spark_version
.
replace
(
"
v
"
,
""
)
if
version
not
in
spark_shark_map
:
print
>>
stderr
,
"
Don
'
t know about Spark version: %s
"
%
version
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment