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 
   ```
   
![image](https://github.com/apache/bigtop/assets/18082602/c59347b2-969b-491c-a41f-9ed40b384a95)
   
   
   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](https://github.com/apache/bigtop/assets/18082602/c169653e-556e-403c-93be-545f97ee6dbb)
   
   
   test with `pkgSuffix` and `parentDir` build arguments on ubuntu22
   
![image](https://github.com/apache/bigtop/assets/18082602/627e1223-a26a-4163-95f8-37a682559771)
   
   
   test install with ambari 
   
![image](https://github.com/apache/bigtop/assets/18082602/8b602b48-f22f-4bd1-8ab2-4de9c22cdb51)
   
![image](https://github.com/apache/bigtop/assets/18082602/56d3f02f-2fea-45b7-994a-db17a9e7da02)
   
![image](https://github.com/apache/bigtop/assets/18082602/4b6d7026-960f-4980-9e26-aae59129bdaf)
   
![image](https://github.com/apache/bigtop/assets/18082602/4c979f3c-752a-425c-94fc-3b6f0a9a246d)
   
   ### 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]

Reply via email to