bigtop icon indicating copy to clipboard operation
bigtop copied to clipboard

BIGTOP-3846 Add Apache Knox MPack

Open cheelio opened this issue 2 years ago • 1 comments

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: 01 02 03 04 05 06 07

Select Knox package 08 09 10 11 12 13

Start embedded LDAP Server 14

Login with admin and admin-password 15

cheelio avatar Oct 13 '22 19:10 cheelio

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

JiaLiangC avatar Jul 21 '23 10:07 JiaLiangC

Thanks @cheelio , since Ambari Mpack is removed on Bigtop side by BIGTOP-4031, I will close this PR

kevinw66 avatar Apr 07 '24 08:04 kevinw66