Code Monkey home page Code Monkey logo

bigdata-docker's Introduction

Repository has been moved to https://github.com/flokkr/flokkr

Docker images for Open Source bigdata/hadoop projects

This is the umbrella project for all of my docker images related to Apache Hadoop and other bigdata related Apache and non-apache projects.

The docker images are in separated repository:

name function
bigdata-base Special image contains base packages and the config loading scripts
docker-hadoop Apache Hadoop components (hdfs/yarn)
docker-spark Apache Spark
docker-zeppelin Apache Zeppelin
docker-zookeeper Apache Zookeeper
docker-kafka Apache Kafka
docker-hbase Apache HBase
docker-phoenix Apache Phoenix
docker-livy Cloudera Livy
docker-hive (experimental) Apache Hive
docker-storm Apache Storm
krb5 (for development only) MIT kerberos server
docker-consul-composer Special image to dynamically start compose containers based on docker-compose in a Consul server

All of the docker images contains the component extracted from the open source distribution and some advanced configuration loading mechanism.

Currently there are two main configuration use cases:

  • For using local docker-compose files we use the envtoconf utility which converts environment variables to configuration files according to the naming convention. (eg. CORE-SITE.XML_fs.default.name="hdfs://localhost:9000" will be converted to a well formed hadoop xml configuration)
  • For using a multi host environment we use the consul-launcher which downloads the configuration from consul and launch the specific starter. (It also listens to the changes and restart the process similar to the consul-template)

There is also a simple python tool to upload configuration (the consul directory of this repository) to the consul (only required if consul is used for configuration management).

This repository contains example cluster configuration, using different ways to configure (environment variables, consul, spring config server) and provision (docker-compose, ansible, consul-composer) the products

Examples

directory configuration type docker container starter provisioning cluster type network (*)
simple environment variables docker-compose local Using host network
compose environment variables docker-compose local Using dedicated docker network
consul consul consul-composer (docker-compose) consul-compose(+ansible) local/cluster Using host network
ansible environment variables docker (ansible module) ansible cluster Using host network
  • Host network is not a limitation just the example uses this simplified approach.

Locally with host network and docker-compose

This is the most simple option. All of the application will use the network of the localhost and the default ports will be available on the localhost. See the simple subdirectory for the docker-compose file of this option.

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.