Bigtop
  1. Bigtop
  2. BIGTOP-788

Oozie RPM build error due to lack of usr/lib/oozie/{libserver,oozie-server,libext}

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.5.0
    • Component/s: RPM
    • Labels:

      Description

      error: File not found: /home/source/git/hadoop/tm-bigtop/build/oozie/rpm/INSTALL/oozie-3.2.0/usr/lib/oozie/libserver
      error: File not found: /home/source/git/hadoop/tm-bigtop/build/oozie/rpm/INSTALL/oozie-3.2.0/usr/lib/oozie/oozie-server
      error: File not found: /home/source/git/hadoop/tm-bigtop/build/oozie/rpm/INSTALL/oozie-3.2.0/usr/lib/oozie/libext
      Processing files: oozie-client-3.2.0-1
      Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      Requires: /bin/bash /bin/sh bigtop-utils
      Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/source/git/hadoop/tm-bigtop/build/oozie/rpm/INSTALL/oozie-3.2.0

      RPM build errors:
      File not found: /home/source/git/hadoop/tm-bigtop/build/oozie/rpm/INSTALL/oozie-3.2.0/usr/lib/oozie/libserver
      File not found: /home/source/git/hadoop/tm-bigtop/build/oozie/rpm/INSTALL/oozie-3.2.0/usr/lib/oozie/oozie-server
      File not found: /home/source/git/hadoop/tm-bigtop/build/oozie/rpm/INSTALL/oozie-3.2.0/usr/lib/oozie/libext

        Activity

        Hide
        Chen-hsiu Huang added a comment -

        revert 88076c2. change dir will cause $

        {BUILD_DIR}/oozie.war not found

        The ${BUILD_DIR}

        passed to install_oozie.sh is '.'; change dir will cause jar unable to
        locate oozie.war, which leads to RPM build fail.

        Show
        Chen-hsiu Huang added a comment - revert 88076c2. change dir will cause $ {BUILD_DIR}/oozie.war not found The ${BUILD_DIR} passed to install_oozie.sh is '.'; change dir will cause jar unable to locate oozie.war, which leads to RPM build fail.
        Hide
        Roman Shaposhnik added a comment -

        Actually, I think the better fix would be to pass the absolute path name to the install_oozie.sh.

        New fix attached. Please let us know if it fixes it on your side and then I can commit.

        Show
        Roman Shaposhnik added a comment - Actually, I think the better fix would be to pass the absolute path name to the install_oozie.sh. New fix attached. Please let us know if it fixes it on your side and then I can commit.
        Hide
        Chen-hsiu Huang added a comment -

        Works for me. Please commit, thanks.

        Show
        Chen-hsiu Huang added a comment - Works for me. Please commit, thanks.

          People

          • Assignee:
            Roman Shaposhnik
            Reporter:
            Chen-hsiu Huang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

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

                Development