bigtop icon indicating copy to clipboard operation
bigtop copied to clipboard

BIGTOP-4151: Add pkgSuffix and parentDir build arguments to Zookeeper…

Open JiaLiangC opened this issue 7 months ago • 7 comments

… 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 image

test build without pkgSuffix and parentDir on ubuntu22 image

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

image

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 image

test install with ambari image image image

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/

JiaLiangC avatar Jul 04 '24 08:07 JiaLiangC