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
31c18a25
Commit
31c18a25
authored
11 years ago
by
Patrick Wendell
Browse files
Options
Downloads
Patches
Plain Diff
Removing support for custom Shark version
parent
13809d36
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
-11
2 additions, 11 deletions
ec2/spark_ec2.py
with
2 additions
and
11 deletions
ec2/spark_ec2.py
+
2
−
11
View file @
31c18a25
...
...
@@ -71,11 +71,6 @@ def parse_args():
parser
.
add_option
(
"
--spark-git-repo
"
,
default
=
"
https://github.com/mesos/spark
"
,
help
=
"
Github repo from which to checkout supplied commit hash
"
)
parser
.
add_option
(
"
--shark-version
"
,
help
=
"
Git hash of shark version. Used only if spark hash is also given.
"
)
parser
.
add_option
(
"
--shark-git-repo
"
,
default
=
"
https://github.com/amplab/shark
"
,
help
=
"
Github repo from which to checkout supplied commit hash
"
)
parser
.
add_option
(
"
--hadoop-major-version
"
,
default
=
"
2
"
,
help
=
"
Major version of Hadoop (default: 2)
"
)
...
...
@@ -495,17 +490,13 @@ def deploy_files(conn, root_dir, opts, master_nodes, slave_nodes, modules):
cluster_url
=
"
%s:7077
"
%
active_master
if
"
.
"
in
opts
.
spark_version
:
# Pre-built deploy
# Pre-built
spark & shark
deploy
(
spark_v
,
shark_v
)
=
get_spark_shark_version
(
opts
)
el
if
opts
.
shark_version
is
Non
e
:
el
s
e
:
# Spark-only custom deploy
spark_v
=
"
%s|%s
"
%
(
opts
.
spark_git_repo
,
opts
.
spark_version
)
shark_v
=
""
modules
=
filter
(
lambda
x
:
x
!=
"
shark
"
,
modules
)
else
:
# Spark and Shark custom deploy
spark_v
=
"
%s|%s
"
%
(
opts
.
spark_git_repo
,
opts
.
spark_version
)
shark_v
=
"
%s|%s
"
%
(
opts
.
shark_git_repo
,
opts
.
shark_version
)
template_vars
=
{
"
master_list
"
:
'
\n
'
.
join
([
i
.
public_dns_name
for
i
in
master_nodes
]),
...
...
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