https://github.com/betrcode/spark-scala-quickstart-app
Followed quickstart guide at https://spark.apache.org/docs/latest/quick-start.html
https://github.com/betrcode/spark-scala-quickstart-app
Last synced: 4 months ago
JSON representation
Followed quickstart guide at https://spark.apache.org/docs/latest/quick-start.html
- Host: GitHub
- URL: https://github.com/betrcode/spark-scala-quickstart-app
- Owner: betrcode
- Created: 2018-01-26T15:20:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-27T10:04:59.000Z (over 4 years ago)
- Last Synced: 2025-01-17T16:35:20.257Z (6 months ago)
- Language: Scala
- Size: 1.29 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Spark Scala Quickstart Application
==================================Created after following the quickstart guide at https://spark.apache.org/docs/latest/quick-start.html
The program will read The King James Bible and count how many times the specified set of words (arguments) are used in the text.
## Using
* Scala
* SBT
* Spark## Purpose
A first taste of Spark.## How to run from command line
$ `sbt "run god devil jesus christ mcdonalds"`
The words after `run` are the arguments to the program. Change as you please.Example output:
```
Map(christ -> 574, jesus -> 973, devil -> 111, mcdonalds -> 0, god -> 4544)
```