Bigtop Packaging

One of the longer term goals is to have Bigtop packages serve as as reference to eventually get Hadoop introduced into most Linux distributions.

Currently, this is problematic owning to the lack of maven3 native packaging for many major Linux distributions. However, Bigtop makefiles and other artifacts, create an alterntive build root, which then uses native rpm or .deb packaging tools to create packages.

We strive to follow best practices with both rpm and Debian based distributions.
If you discover packaging or installation issues, please file a ticket https://issues.apache.org/jira/browse/BIGTOP


Getting started with bigtop packaging.

1) You will have to package both deb and rpm.  Starting with one or the other is the best.

2) Here are some steps you can follow to bring a new bigtop package in.

3) As always, we will improve on the directions above, but this should help to get you started. .


Helpful docs on bigtop packaging (will expand this table over time). 

DescriptionURL
Romans talk on RPMs vs Tarballs and BigTop Packaging

Walkthrough of RPM spec for hadoop in BigTop

http://jayunit100.blogspot.com/2014/04/how-bigtop-packages-hadoop.html


RPM Macros

https://rpm-packaging-guide.github.io/#rpm-macros
https://docs.fedoraproject.org/en-US/packaging-guidelines/RPMMacros/


RPM %Files

https://rpm-packaging-guide.github.io/#files


Debian Policieshttps://www.debian.org/doc/debian-policy/