Skip to content

icikic/spark-standalone-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Spark-standalone-docker

Simple standalone Spark cluster

Prerequisites

Docker Compose 1.18.0 and compatible Docker engine

Usage

Start cluster with 2 worker nodes

  • docker-compose up -d --scale worker=2

Start spark-shell session

  • docker-compose exec master bin/spark-shell --master spark://master:7077

Start spark-shell with additional libraries

  • docker-compose exec master bin/spark-shell --master spark://master:7077 --jars /libs/foo.jar

Releases

No releases published

Packages

No packages published