GithubHelp home page GithubHelp logo

dockerambari's Introduction

DockerAmbari

Introduction:

This repository is forked from https://github.com/sequenceiq/docker-ambari with modified blueprint, which brings up a cluster for data scientist in Docker with minimum CPU and Memory usage.

Request:

  • Docker
  • Bash-based shell
  • This repository is only tested on Linux

Install:

  1. $ source helper, to have amb prefix functions

  2. $ amb-start-cluster <number-of-cluster> startup a cluster with consul

  3. Launch ambari-shell by amb-shell

  4. blueprint add --file data_scientist.bp to add the blueprint for data scientist pre-installed software

  5. cluster autoassign to deploy to your cluster

  6. cluster create --exitOnFinish true Done!

Nginx

In order to dynamically mapping the port from container to host, modified nginx which forked from https://hub.docker.com/r/jlordiales/nginx-consul/ is used

  1. docker build -t <nginx-image-name> . to build it up

  2. Launch the nginx container by

$ docker run \
  --name nginx \
  -d \
  -p 8080:8080 -p 9995:9995 -p 9996:9996 \
  --v `pwd`/service.ctmpl:/templates/service.ctmpl \
  --dns $(docker inspect --format="{{.NetworkSettings.IPAddress}}" amb-consul) \
  --dns 172.17.0.1 \
  --dns 8.8.8.8 \
  --dns-search service.consul \
  <nginx-image-name>

which forwards port 9995 for zeppelin notebook and 8080 for ambari dashboard

dockerambari's People

Contributors

corcovadoming avatar

Watchers

James Cloos avatar  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.