Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1092

Oozie packages don't contain oozie.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: build

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rvs Roman Shaposhnik
                Reporter:
                jdnurmi jdnurmi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified