Ian Soboroff wrote:
I created a JIRA (https://issues.apache.org/jira/browse/HADOOP-5615)
with a spec file for building a 0.19.1 RPM.
I like the idea of Cloudera's RPM file very much. In particular, it has
nifty /etc/init.d scripts and RPM is nice for managing updates.
However, it's for an older, patched version of Hadoop.
This spec file is actually just Cloudera's, with suitable edits. The
spec file does not contain an explicit license... if Cloudera have
strong feelings about it, let me know and I'll pull the JIRA attachment.
The JIRA includes instructions on how to roll the RPMs yourself. I
would have attached the SRPM but they're too big for JIRA. I can offer
noarch RPMs build with this spec file if someone wants to host them.
Ian
-RPM and deb packaging would be nice
-the .spec file should be driven by ant properties to get dependencies
from the ivy files
-the jdk requirements are too harsh as it should run on openjdk's JRE or
jrockit; no need for sun only. Too bad the only way to say that is leave
off all jdk dependencies.
-I worry about how they patch the rc.d files. I can see why, but wonder
what that does with the RPM ownership
As someone whose software does get released as RPMs (and tar files
containing everything needed to create your own), I can state with
experience that RPMs are very hard to get right, and very hard to test.
The hardest thing to get right (and to test) is live update of the RPMs
while the app is running. I am happy for the cloudera team to have taken
on this problem.