bigtop
bigtop copied to clipboard
BIGTOP-3846 Add Apache Knox MPack
Description of PR
In https://github.com/apache/bigtop/pull/1029 I added a package for Apache Knox. Now it's time to add the Mpack.
How was this patch tested?
CentOS:
build Knox: (from https://github.com/apache/bigtop/pull/1029):
docker run --network bigtopNetwork --rm -v `pwd`:/ws --workdir /ws bigtop/slaves:trunk-centos-7 bash -l -c './gradlew -PNEXUS_URL=http://nexus:8081/nexus configure-nexus knox-clean knox-pkg yum'
build Mpack (This PR):
docker run --network bigtopNetwork --rm -v `pwd`:/ws --workdir /ws bigtop/slaves:trunk-centos-7 bash -l -c './gradlew -PNEXUS_URL=http://nexus:8081/nexus configure-nexus bigtop-ambari-mpack-pkg yum'
Create Ambari container:
(cd provisioner/docker; ./docker-hadoop.sh --destroy; ./docker-hadoop.sh --create 1 --image bigtop/puppet:trunk-centos-7 --memory 16g --enable-local-repo --disable-gpg-check --stack ambari)
Install MPack and restart ambari
(cd provisioner/docker; ./docker-hadoop.sh --exec 1 yum install -y bigtop-ambari-mpack; ./docker-hadoop.sh --exec 1 ambari-server install-mpack --mpack /usr/lib/bigtop-ambari-mpack/bgtp-ambari-mpack-1.0.0.0-SNAPSHOT-bgtp-ambari-mpack.tar.gz --force; ./docker-hadoop.sh --exec 1 ambari-server restart)
Get hostname and IP Address:
(cd provisioner/docker; ./docker-hadoop.sh --exec 1 hostname --fqdn; ./docker-hadoop.sh --exec 1 hostname -I)
Start Install wizard:
Select Knox package
Start embedded LDAP Server
Login with admin
and admin-password
@cheelio Hello, can you please submit a pull request for the Knox service to the Apache Ambari trunk branch? The community plans to add support for Knox in Ambari 2.9, and we would greatly appreciate your contribution and support.
Thanks @cheelio , since Ambari Mpack is removed on Bigtop side by BIGTOP-4031, I will close this PR