Giter Club home page Giter Club logo

zeppelin-spark-standalone-cluster's Introduction

Zeppelin with Spark Standalone Cluster

  • Apache Zeppelin version: 0.8.0
  • Apache Spark version: 2.3.0

Before launching the containers

docker run --name=master -d bde2020/spark-master:2.3.0-hadoop2.7
docker cp master:/spark spark
docker stop master

Launch docker compose

  • Spark

It launch a cluster with a master node and two worker nodes. The UI is running at the 8181 (moved due collision with the zeppelin UI port).

spark-master:
    image: bde2020/spark-master:2.3.0-hadoop2.7
    container_name: spark-master
    expose:
        - "7077"
    ports:
        - "8181:8080"
        - "7077:7077"
    environment:
        - INIT_DAEMON_STEP=setup_spark
spark-worker-1:
    image: bde2020/spark-worker:2.3.0-hadoop2.7
    container_name: spark-worker-1
    depends_on:
        - spark-master
    ports:
        - "8082:8082"
    environment:
        - "SPARK_MASTER=spark://spark-master:7077"
spark-worker-2:
    image: bde2020/spark-worker:2.3.0-hadoop2.7
    container_name: spark-worker-2
    depends_on:
        - spark-master
    ports:
        - "8083:8083"
    environment:
        - "SPARK_MASTER=spark://spark-master:7077"
  • Zeppelin

The UI is defined to run at the 8080. All the created notebooks are mapped to a volume at the ./notebooks local directory in the host.

zeppelin:
    image: apache/zeppelin:0.8.0
    ports:
        - "8080:8080"
    volumes:
        - ./spark:/zeppelin/spark
        - ./notebooks:/zeppelin/notebook
    environment:
        - "MASTER=spark://spark-master:7077"
        - "SPARK_MASTER=spark://spark-master:7077"
        - "SPARK_HOME=/zeppelin/spark"

zeppelin-spark-standalone-cluster's People

Contributors

fbirlik avatar jgoodman8 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.