bigtop icon indicating copy to clipboard operation
bigtop copied to clipboard

[WIP] BIGTOP-4087: Add pkgSuffix and parentDir build arguments to Hadoop

Open JiaLiangC opened this issue 7 months ago • 0 comments

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 

image

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 

image

test with pkgSuffix and parentDir build arguments on ubuntu22 image

test install with ambari image 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 01:07 JiaLiangC