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

https://github.com/florentf9/spark-config-example

:sparkles: Configuring a Spark application with Typesafe config (example application)
https://github.com/florentf9/spark-config-example

configuration spark tutorial

Last synced: 4 months ago
JSON representation

:sparkles: Configuring a Spark application with Typesafe config (example application)

Awesome Lists containing this project

README

          

# Configuring a Spark application with Typesafe config (example application)

Example code for my blog post ["Configuring Spark application with Typesafe config"](http://florentforest.xyz/2019/01/07/configuring-spark-applications-with-typesafe-config.html).

## Basic instructions

Build assembly JAR:

```shell
sbt assembly
```

Run (local mode):

```shell
spark-submit --master local[*] --class xyz.florentforest.sparkconfigexample.ConfigWordCount --files wordcount.conf --driver-java-options -Dconfig.file=wordcount.conf sparkconfigexample-assembly-1.0.jar
```