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
eae7590d
Commit
eae7590d
authored
11 years ago
by
Patrick Wendell
Browse files
Options
Downloads
Patches
Plain Diff
Support for multiple hadoop versions
parent
bb328c8f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ec2/deploy.generic/root/spark-ec2/ec2-variables.sh
+1
-0
1 addition, 0 deletions
ec2/deploy.generic/root/spark-ec2/ec2-variables.sh
ec2/spark_ec2.py
+4
-1
4 additions, 1 deletion
ec2/spark_ec2.py
with
5 additions
and
1 deletion
ec2/deploy.generic/root/spark-ec2/ec2-variables.sh
+
1
−
0
View file @
eae7590d
...
@@ -10,4 +10,5 @@ export MESOS_SPARK_LOCAL_DIRS="{{spark_local_dirs}}"
...
@@ -10,4 +10,5 @@ export MESOS_SPARK_LOCAL_DIRS="{{spark_local_dirs}}"
export
MODULES
=
"{{modules}}"
export
MODULES
=
"{{modules}}"
export
SPARK_VERSION
=
"{{spark_version}}"
export
SPARK_VERSION
=
"{{spark_version}}"
export
SHARK_VERSION
=
"{{shark_version}}"
export
SHARK_VERSION
=
"{{shark_version}}"
export
HADOOP_MAJOR_VERSION
=
"{{hadoop_major_version}}"
export
SWAP_MB
=
"{{swap}}"
export
SWAP_MB
=
"{{swap}}"
This diff is collapsed.
Click to expand it.
ec2/spark_ec2.py
+
4
−
1
View file @
eae7590d
...
@@ -76,6 +76,8 @@ def parse_args():
...
@@ -76,6 +76,8 @@ def parse_args():
parser
.
add_option
(
"
--shark-git-repo
"
,
parser
.
add_option
(
"
--shark-git-repo
"
,
default
=
"
https://github.com/amplab/shark
"
,
default
=
"
https://github.com/amplab/shark
"
,
help
=
"
Github repo from which to checkout supplied commit hash
"
)
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)
"
)
parser
.
add_option
(
"
-D
"
,
metavar
=
"
[ADDRESS:]PORT
"
,
dest
=
"
proxy_port
"
,
parser
.
add_option
(
"
-D
"
,
metavar
=
"
[ADDRESS:]PORT
"
,
dest
=
"
proxy_port
"
,
help
=
"
Use SSH dynamic port forwarding to create a SOCKS proxy at
"
+
help
=
"
Use SSH dynamic port forwarding to create a SOCKS proxy at
"
+
...
@@ -565,7 +567,8 @@ def deploy_files(conn, root_dir, opts, master_nodes, slave_nodes, zoo_nodes,
...
@@ -565,7 +567,8 @@ def deploy_files(conn, root_dir, opts, master_nodes, slave_nodes, zoo_nodes,
"
swap
"
:
str
(
opts
.
swap
),
"
swap
"
:
str
(
opts
.
swap
),
"
modules
"
:
'
\n
'
.
join
(
modules
),
"
modules
"
:
'
\n
'
.
join
(
modules
),
"
spark_version
"
:
spark_v
,
"
spark_version
"
:
spark_v
,
"
shark_version
"
:
shark_v
"
shark_version
"
:
shark_v
,
"
hadoop_major_version
"
:
opts
.
hadoop_major_version
}
}
# Create a temp directory in which we will place all the files to be
# Create a temp directory in which we will place all the files to be
...
...
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