Dev support is used to quickly develop and test ambari, which runs on the docker containers.
The scripts require docker to be installed, since the compile process will run in a docker container and Ambari cluster also deploys on containers.
RHEL (CentOS 7) :
yum install -y git docker
git clone https://github.com/apache/ambari.git
RHEL (CentOS 7) :
cd ambari/dev-support/docker/centos7/
Run the setup command, you will get ambari/develop:trunk-centos-7
image. It has the enviroment needed to compile Ambari and run servers such as Ambari Server, Ambari Agent, Mysql, etc.
RHEL (CentOS 7) :
./build-image.sh
admin
and password admin
.build-containers.sh
last few lines, eg. Kerberos Configuration、Hive DB Configuration.RHEL (CentOS 7) :
./build-containers.sh
Re-compile Ambari without re-create and deploy clusters.
RHEL (CentOS 7) :
./build-ambari.sh
Re-distribute stack scripts without re-create clusters.
RHEL (CentOS 7) :
./distribute-scripts.sh
Clean up the containers of Ambari cluster when you are done developing or testing.
RHEL (CentOS 7) :
./clear-containers.sh
Note : This operation will completely delete maven cache.
RHEL (CentOS 7) :
docker rm -f ambari-rpm-build