JiaLiangC opened a new pull request, #1285:
URL: https://github.com/apache/bigtop/pull/1285
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/BIGTOP/How+to+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'BIGTOP-3638: Your PR title ...'.
-->
### 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/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]