Giter Site home page Giter Site logo

spark-docker's Introduction

Spark Docker

Instructions on building and running the Spark Docker image on Centos7, with samba volume.

Create Volume cifs

docker volume create 	--driver local 
			--opt type=cifs 
			--opt device=//SAMBA_SERVER_IP/PATH_TO_DATA/data
			--opt o=username=username,password=password VOLUME_NAME

Running a Standalone Spark cluster using Docker-compose

  1. Build the image worker image docker-compose build
  2. Start up a Spark master and n workers docker-compose up --scale worker=n
  3. Too destroy the cluster docker-compose down

Running a Standalone Spark Cluster of workers docker-compose

  1. Build the worker image docker-compose -f worker.yml build
  2. Start up a Spark workers docker-compose -f worker.yml --scale worker=n
  3. To destroy the cluster of workers docker-compose -f worker.yml down

spark-docker's People

Contributors

jlroo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.