Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
assignments424fall23
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Peter Keleher
assignments424fall23
Commits
a20fcfcd
Commit
a20fcfcd
authored
1 year ago
by
Peter Keleher
Browse files
Options
Downloads
Patches
Plain Diff
auto
parent
dd597482
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assign9.md
+13
-22
13 additions, 22 deletions
assign9.md
with
13 additions
and
22 deletions
assign9.md
+
13
−
22
View file @
a20fcfcd
...
...
@@ -26,30 +26,10 @@ the YARN resource manager.
Note that bash is the default shell everywhere, but the
`.cshrc`
is set up
correctly if you feel like dropping into
`tcsh`
.
### Mac and Homebrew
```
brew install apache-spark
brew install psutils
```
### Docker
From the distribution directory:
```
docker build spark424:alpha .
docker run -it spark424:alpha
```
The second command logs you in to a
`tcsh`
shell in the container. The
distribution directory is mounted read/write at
`/assign9`
.
### Other
-
Download spark from
[
here
](
https://archive.apache.org/dist/spark/spark-3.0.1/spark-3.0.1-bin-hadoop2.7.tgz
)
.
-
Move the downloaded file to the
`assignment9/`
directory (so it is available
in '/vagrant' on the virtual machine), and uncompress it using:
`tar zxvf
spark-3.0.1-bin-hadoop2.7.tgz`
in your VM.
-
This will create a new directory:
`spark-3.0.1-bin-hadoop2.7`
.
### Vagrant
This is the
**recommended**
way to do this project.
As before, we have provided a VagrantFile in the
`assignment9`
directory. Since
the Spark distribution is large, we ask you to download that directly from the
Spark website.
...
...
@@ -61,6 +41,17 @@ This step is included in the VagrantFile, but if you get any error
We are ready to use Spark.
### Mac and Homebrew
I'd rather not pollute my mac w/ all the detritus from starting
`spark`
up, so I have not pioneered a mac approach, though you are
free to.
If you have apple silicon, I recommend you wait until the docker
approach has been checked out (soon).
### Docker
Probably before Thanksgiving.
### Spark and Python
Spark primarily supports three languages: Scala (Spark is written in Scala),
...
...
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