Giter Club home page Giter Club logo

druid-docker's Introduction

Druid Docker

Personalised druid docker setup on the host and configured with Supervisord.

  • Each node will run in separate container independently.
  • Suitable for production.
  • You might need to change conf directory according to your hardware configurations.
  • Don't forget to replicate conf in root directory to each of individual component.

As it is my first docker project, I put maximum effort to give the best. Please suggest if there is any import things that I missed


### Install Docker

Follow the docker documentation to install docker-engine depending on your os confiugration. We are using docker-compose to build and start the containers., so for this you need to have docker-compose which you can install by running the following command. Make sure you have pip insalled.

pip install docker-compose

Most of *nix system will bundle pip with the os except for Mac. If the package doesn't exists, you need to install pip


### Clone the Repo

You need to download/clone the repo from here or by using the following commands.

git clone https://github.com/Gowtham95india/druid-docker.git druid-docker-master
cd druid-docker-master

If you don't have git installed, you can directly donwload it by using the following commands

curl -s https://codeload.github.com/Gowtham95india/druid-docker/zip/master > druid-docker.zip
unzip druid-docker.zip
cd druid-docker-master

Here the proejct directory structure.

./druid-docker-master/
├── broker
│   ├── conf
│   ├── Dockerfile
│   └── supervisord.conf
├── conf
│   └── druid
├── coordinator
│   ├── conf
│   ├── Dockerfile
│   └── supervisord.conf
├── historical
│   ├── conf
│   ├── Dockerfile
│   └── supervisord.conf
├── middleManager
│   ├── conf
│   ├── Dockerfile
│   └── supervisord.conf
├── mysql
│   ├── conf
│   ├── Dockerfile
│   └── supervisord.conf
├── overlord
│   ├── conf
│   ├── Dockerfile
│   └── supervisord.conf
├── zookeeper
│   ├── conf
│   ├── Dockerfile
│   └── supervisord.conf
├── Dockerfile
├── LICENSE
├── README.md
└── docker-compose.yml

Important things regarding the project structure:

Once you are done with configuring and copy, you are ready to go! 👍

docker-compose up

This step will donwload Ubuntu 14.04 images and will do all the necessary steps and starts container. You can see the logs of individuals nodes by using docker logs container name here. For example, you can see the broker log in the following way. Additionally you can stream the logs by using with -f flag.

docker logs broker

### Futher recommended:

You can use swarm to run them in different hosts. You can read about swarm here.

Don't run this in your machine as it runs 7 containers which freezes the system. I'm using 16Gb Ubuuntu 14.04 Machine to run and test this.

druid-docker's People

Contributors

gwthm-in 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.