bigtop
bigtop copied to clipboard
[WIP] BIGTOP-4087: Add pkgSuffix and parentDir build arguments to Hadoop
Description of PR
Adding pkgSuffix
and parentDir
build arguments to the Hadoop DEB packaging in order to facilitate Ambari support on Ubuntu and Debian.
How was this patch tested?
Package without the pkgSuffix and parentDir parameters on both Ubuntu 22 and Debian 11, then run tests. Package with the parameters on Ubuntu 22, then use Ambari to install the Hadoop service. Verify that the installation is successful and the service runs properly.
test without pkgSuffix and parentDir parameters in ubuntu22 x86_64
./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 hdfs,yarn,mapreduce --smoke-tests hdfs,yarn,mapreduce
test without pkgSuffix and parentDir parameters in debian-11 x86_64
docker-hadoop.sh -d -dcp --create 3 --image bigtop/puppet:trunk-debian-11 --docker-compose-yml docker-compose.yml --memory 8g --repo file:///bigtop-home/output/apt --disable-gpg-check --stack hdfs,yarn,mapreduce --smoke-tests hdfs,yarn,mapreduce
test with pkgSuffix
and parentDir
build arguments on ubuntu22
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/