You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Development in Docker

 

Overview

This page describes how to develop, build and test Ambari on Docker.

This is NOT meant for running production level Ambari in Docker (though you can run Ambari and deploy Hadoop in a single Docker container for testing purpose) 

(This is not only about Jenkins slaves but think it is your laptop)

First, we will make a Docker image that has all third party libraries Ambari requires

Source code

This code has been migrated to Ambari trunk.

https://github.com/apache/ambari/tree/trunk/dev-support/docker

Requirements

There are a few system requirements if you want to play with this document.

 

Create Docker Image

docker build -t ambari/build ./docker

 

Unit Test

For example our unit test Jenkins job on trunk runs on Docker.

 

Deploy Hadoop

 

Run only ambari-server

 

Run only ambari-server and ambari-agent

 

 

  • No labels