jdnurmi created OOZIE-1092:
------------------------------
Summary: Oozie packages
Key: OOZIE-1092
URL: https://issues.apache.org/jira/browse/OOZIE-1092
Project: Oozie
Issue Type: Bug
Components: build
Reporter: jdnurmi
Debian oozie packages built through bigtop do not appear to be valid;
For example, the debs in:
http://bigtop01.cloudera.org:8080/job/Bigtop-trunk-Oozie/label=lucid/
contain neither the .war file, the exploded .war file, or the scripts to
generate a new .war file.
By overlaying the debianization patches (no idea where they come from, but it
seems to be from bigtop...) onto a 3.2.0-incubator tarball and build, the
problem becomes clearer:
debian/rules calls debian/install_oozie.sh --build-dir=.
install_oozie.sh effectively does (cd ${SOMEWORKDIR}; tar xvf
${BUILDDIR}/oozie.war);
Changing build-dir=`pwd` seems to fix the issue for me, though there are also
probably cleaner ways.
Disconcertingly, this appears in the build output (
http://bigtop01.cloudera.org:8080/job/Bigtop-trunk-Oozie/label=lucid/252/consoleText
)
+ jar xf ./oozie.war
java.io.FileNotFoundException: ./oozie.war (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.tools.jar.Main.run(Main.java:238)
at sun.tools.jar.Main.main(Main.java:1149)
+ failIfNotOK
+ [ 1 != 0 ]
+ exit 0
which would suggest this failure is not failing the build, even though it
produces unstartable packages.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira