bigtop
bigtop copied to clipboard
BIGTOP-4151: Add pkgSuffix and parentDir build arguments to Zookeeper…
… deb
Description of PR
Add pkgSuffix and parentDir build arguments to Zookeepe deb to make it can be installed by ambari
How was this patch tested?
test build with pkgSuffix and parentDir build arguments on ubuntu22
test build without pkgSuffix and parentDir on ubuntu22
Run smoke test on Ubuntu 22 x86_64 with -ps and -pd parameters. These two parameters are used to deploy and perform smoke tests on the deb package built with bigtop using the pkgSuffix and parentDir build arguments.
./docker-hadoop.sh -d -dcp --create 3 --image bigtop/puppet:trunk-ubuntu-22.04 --docker-compose-yml docker-compose.yml --memory 8g --repo file:///bigtop-home/output/apt --disable-gpg-check --stack zookeeper --smoke-tests zookeeper -ps -pd /usr/bigtop
Run smoke test on Ubuntu 22 x86_64 without -ps and -pd parameters. ensure that even with the code changes brought about by these two parameters, the compilation and packaging process works correctly when the parameters are not used
./docker-hadoop.sh -d -dcp --create 3 --image bigtop/puppet:trunk-ubuntu-22.04 --docker-compose-yml docker-compose.yml --memory 8g --repo file:///bigtop-home/output/apt --disable-gpg-check --stack zookeeper --smoke-tests zookeeper
test install with ambari
For code changes:
- [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
- [ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/