Coder Social home page Coder Social logo

hadoop-docker-cluster's Introduction

Hadoop based Distributed System Docker Cluster

Alt text

Installed Components

  1. Airflow 2.7.0
  2. Hadoop 2.8.0
  3. Hive 2.3.2 (scala 2.11.8, python 2.7.9)
  4. Spark 2.1.2
  5. Kafka 7.0.0-css

1. Usage

  1. Start an cluster
    run_cluster.sh

    run_cluster.sh
    
  2. Stop an cluster
    stop_cluster.sh

    stop_cluster.sh
    

2. Interfaces (port forwarding)

  1. Airflow
  2. Hadoop
  3. Hive
    • Server port: 10000
    • Metastore(postgreSQL) port: 9083
  4. Spark
  5. Kafka
    • Kafka port: 9092
    • Kafdrop: http://localhost:9000
    • LISTENER_DOCKER_INTERNAL port: 19092
    • LISTENER_DOCKER_EXTERNAL port: 9092

3. Airflow connections (example)

  1. Hive
    1. hive_cli_conn
      • Connection Id: hive_cli_conn
      • Connection Type: Hive Client Wrapper
      • Host: localhost (host IP)
      • Port: 10000
      • Extra: {"use_beeline": true}
  2. Spark
    1. spark_conn
      • Connection Id: spark_conn
      • Connection Type: Spark
      • Host: local[*]
  3. Kafka
    1. kafka_default
      • Connection Id: kafka_default
      • Connection Type: Apache Kafka
      • Config Dict
        {
          "bootstrap.servers": "kafka-server:19092",
          "group.id": "group_1",
          "security.protocol": "PLAINTEXT",
          "auto.offset.reset": "beginning"
        }
        
    2. kafka_listener
      • Connection Id: kafka_listener
      • Connection Type: Apache Kafka
      • Config Dict
        {
          "bootstrap.servers": "kafka-server:19092",
          "group.id": "group_2",
          "security.protocol": "PLAINTEXT",
          "auto.offset.reset": "beginning"
        }
        

4. Notice


References

hadoop-docker-cluster's People

Contributors

alchemine avatar

Watchers

 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.