Giter Site home page Giter Site logo

nickkbright / apachedrillcluster Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 5.47 MB

Images for creating four-node Drill cluster with HDFS support

License: Apache License 2.0

Dockerfile 95.99% Shell 4.01%
docker zookeeper apache-drill hdfs docker-compose

apachedrillcluster's Introduction

Apache Drill 4-node cluster with HDFS support

Zookeeper, Drill and Hadoop HDFS docker containers based on Cent OS 7. Zookeeper cluster has 3 nodes. Drill cluster has 4 nodes. UDF directories are storing in HDFS.

How to start cluster?

Install Docker CE and cd to cloned repo root folder

Local mode

  1. Run docker-compose -f local-setup.yml build

  2. Run docker-compose -f local-setup.yml up

  3. Wait for 1-2 minutes as the cluster needs time for startup.

Swarm mode

  1. Run docker swarm init --advertise-addr <MANAGER-IP>, where MANAGER-IP is the ip-address of your host machine. You can add another machines to your swarm cluster and connect them via generated token.

  2. Create overlay network with vnet name. Run docker network create -d overlay vnet

  3. Run docker stack deploy --compose-file swarm-setup.yml drillStack

  4. Wait for 2-3 minutes as the cluster needs time for startup.

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.