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

        Chen-hsiu Huang created issue -
        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.
        Chen-hsiu Huang made changes -
        Field Original Value New Value
        Attachment BIGTOP-788.patch [ 12553947 ]
        Chen-hsiu Huang made changes -
        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
        make: *** [/home/source/git/hadoop/tm-bigtop/build/oozie//.rpm] Error 1
        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
        Chen-hsiu Huang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        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.
        Roman Shaposhnik made changes -
        Attachment 0001-BIGTOP-788.-Oozie-RPM-build-error-due-to-lack-of-usr.patch [ 12554111 ]
        Roman Shaposhnik made changes -
        Attachment 0001-BIGTOP-788.-Oozie-RPM-build-error-due-to-lack-of-usr.patch [ 12554111 ]
        Roman Shaposhnik made changes -
        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.
        Roman Shaposhnik made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Assignee Roman Shaposhnik [ rvs ]
        Resolution Fixed [ 1 ]
        Chen-hsiu Huang made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        10m 58s 1 Chen-hsiu Huang 18/Nov/12 07:46
        Patch Available Patch Available Resolved Resolved
        22h 2m 1 Roman Shaposhnik 19/Nov/12 05:49
        Resolved Resolved Closed Closed
        61d 21h 31m 1 Chen-hsiu Huang 20/Jan/13 03:20

          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