Coder Social home page Coder Social logo

ambari-runtime-compose's Introduction

Ambari Docker Compose Runtime

Sample Docker Compose files for running Ambari with PostgreSQL or MySQL, and a local repo (optional)

Usage

  1. Define AMBARI_BUILD (eg. 2.6.1) and AMBARI_FLAVOR (eg. centos7) variables (look for available ambari-server and ambari-agent images on Docker Hub)
  2. Create password.dat with the password for the ambari DB user
  3. Run Ambari:
    docker-compose -p ambari -f server.yaml -f agent.yaml -f db/postgres.yaml up -d
    
  4. Scale the cluster by adding new agent nodes:
    docker-compose -f ... scale agent=2
    

Notes

  • Define the set of compose files to be used in the COMPOSE_FILE environment variable to avoid having to type all of them for each command.
    COMPOSE_FILE=server.yaml:agent.yaml:db/postgres.yaml:repo.yaml
    
  • Most Ambari settings are defined in *.env files. These are converted to the real config files by envtoconf invoked by the flokkr/launcher. This allows mixing in settings from the compose files or other sources.
  • For using Ambari with MySQL, download MySQL Connector/J, and define the jar's location on the host in the MYSQL_JDBC_DRIVER variable. The file will be mounted in Ambari Server's container.
  • If some stack is available locally, point REPO_DIR to it and add repo.yaml the list of compose files. Set base URLs in Ambari to http://repo/...

ambari-runtime-compose's People

Contributors

adoroszlai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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