You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Patrick Wong <pw...@maprtech.com> on 2014/06/07 03:15:28 UTC
Review Request 22336: DRILL-919 - RPM build process for RedHat / CentOS
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22336/
-----------------------------------------------------------
Review request for drill.
Repository: drill-git
Description
-------
The version of the tarball, as well as the version of the directory inside, cannot have more than one dash "-" symbol. This is a limitation of rpmbuild. In order to try out the RPM build process, you will need to either:
a) Extract the binary release, change the Drill directory's name to "apache-drill-1.0.0", then tar it again as "apache-drill-1.0.0.tar.gz"
b) Change the Drill version to 1.0.0 and rebuild - this will take more effort than option a.
Then, you can run "rpmbuild -tb apache-drill-1.0.0.tar.gz"
Package details:
- Drill is installed to /opt/drill/ and is owned by root user
- /opt/drill/bin/drillbit.sh is symlinked to /etc/rc.d/init.d/drillbit - you can test this by running "sudo service drillbit" or "sudo /etc/init.d/drillbit"
- /opt/drill/conf is symlinked to /etc/drill/conf
- Logs go to /var/log/drill/ by default
Diffs
-----
distribution/src/assemble/bin.xml b4452b7
distribution/src/rpm/drill.spec PRE-CREATION
Diff: https://reviews.apache.org/r/22336/diff/
Testing
-------
Thanks,
Patrick Wong