Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-241

Add package dependencies to CDH3u0 Zookeeper RPM for programs invoked from install/uninstall scripts

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH3u0
    • Fix Version/s: CDH3u2
    • Component/s: Packaging, ZooKeeper
    • Labels:
      None

      Description

      The spec file for the CDH3u0 Zookeeper RPM does not specify dependencies for the programs invoked from the RPM's install and uninstall scripts. This causes system image building programs like BoxGrinder to install RPMs in the wrong order. In my case, BoxGrinder installed the hadoop-zookeeper RPM before the RPM containing the "install" utility from the coreutils package. Having such dependencies in the spec file is a RPM best practice. The attached patch adds such dependencies for the CDH3u0 Zookeeper RPM.

      The patch also adds "ant" as a build-time requirement.

        Attachments

          Activity

            People

            • Assignee:
              rvs Roman V Shaposhnik
              Reporter:
              tomdyas Tom Dyas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: