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

CDH3 SRPM does not include forrest install

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: CDH3u0
    • Fix Version/s: CDH4b1
    • Component/s: Packaging
    • Labels:
      None

      Description

      This is another Koji/mock-compatibility issue.

      We currently require FORREST_HOME to be setup outside the RPM build. This doesn't work in mock environments, which sets up a clean chroot environment. To fix this, I have added the apache forrest tarball as a new source (Source4 in my build):

      Source4: apache-forrest-0.8.tar.gz

      Then, the setup line changes to this:

      %setup n hadoop%

      {cloudera_version}

      -a 4

      (where '4' is the source number). Next, set FORREST_HOME as the first line of build:

      export FORREST_HOME=$PWD/apache-forrest-0.8

      Finally, the attached patch will remove the Java5 dependency for Forrest.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rvs Roman V Shaposhnik
                Reporter:
                bbockelm Brian Bockelman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: