/spark-inception

This project is available free of charge as a companion to my Data+AI Summit (2022) talk.

Primary LanguageScalaApache License 2.0Apache-2.0

spark-inception

This project is available free of charge as a companion to my Data+AI Summit (2022) talk.

Setup

Requirements: Java 11 (jdk), Scala 2.12, SBT (1.5.2) Export your java 11 location to ~/.zshrc: (example: export JAVA11_HOME="/Library/Java/JavaVirtualMachines/openjdk@11.jdk/Contents/Home")

Building

From the root project directory, run the following command.

Note: Because I am kind of lazy - you need to have redis running to build. Use docker compose -f local/docker-compose.yml to spin up redis (and minio if you want to get creative with things - I use it for a local S3 clone).

sbt clean assembly
docker build . -t mde/spark-inception-controller:1.0.0

Running the Inception Controller

See the How To: Docs to run everything without needing to build / test / all that.

Shameless Plug:

I wrote a book on Apache Spark published in 2022. You'll like it, https://www.amazon.com/Modern-Engineering-Apache-Spark-Hands/dp/1484274512/