Skip to content

benny-hal/SparkCluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SparkCluster

An example of using a Docker images to create a Spark Cluster and submit an App.

Requirements

  1. Docker 1.10.0+ and docker-compose 1.6.0+
  2. SBT

Running

  1. Create the app jar by executing the following command inside the sbt-application directory:

sbt assembly

  1. Run the Spark cluster by executing the following command from the top directory:

docker-compose up master slave

This will run two images:

  • Spark master
  • Spark slave
  1. Run the Spark app by executing the following command from the top directory

docker-compose up hello-world

This will use a docker container to submit an app to the Spark cluster

The master’s web UI can be found at http://localhost:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages