Skip to content

TonyDC/spark-in-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spark in Docker

Create a Apache Spark cluster in Docker.

Note that this is just a proof of concept I developed just for testing purposes. See the Sources section for more information about the places I checked out. Moreover, some cleanup activities and enhancements are required, which I will try to do in my spare time.

Commands

Build images (with base):

DEPLOY_BASE=1 ./build

Build images (reusing base image):

./build

Start cluster:

docker-compose up --scale spark-master=1 --scale spark-worker=6 --scale spark-submit=0

Submit task:

docker-compose run spark-submit
./run <script args>

Sources

About

A Docker-based Apache Spark cluster

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published