Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 10 hours ago
JSON representation

Followed quickstart guide at https://spark.apache.org/docs/latest/quick-start.html

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)
```