iwasakims commented on PR #1162:
URL: https://github.com/apache/bigtop/pull/1162#issuecomment-1684943269

   > Is there any documentation on how to test in different environments?
   
   @JiaLiangC I think improving developers docs is our todo.
   
   In short, you can leverage Docker by `*-pkg-ind` and `repo-ind` task.
   
   ```
   $ ./gradlew hadoop-pkg-ind repo-ind -POS=ubuntu-22.04 -Pprefix=trunk 
-Dbuildwithdeps=true -Pdocker-run-option="--privileged" -Pmvn-cache-volume=true
   ```
   
   * `-Dbuildwithdeps=true` kicks packging of products depended by hadoop (such 
as bigtop-utils and zookeeper).
   * `-Pdocker-run-option="--privileged"` is needed on the Fedora-35 and 
Ubuntu-22.04 now (depending on the version of systemd).
   * `-Pmvn-cache-volume=true` attaches docker volume to reuse local repository 
(~/.m2) to make repeatable build faster.
   


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