Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2432

MR-279: Install sanitized poms for downstream sanity

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: mrv2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Tags:
      mr-279, mrv2, pom

      Description

      Due to MNG-4223, the installed POMs of MR-279 is downstream hostile. E.g., it's impossible to use versions of hadoop-mapreduce-client-core.version in ivy other than 1.0-SNAPSHOT without changing the multiple POMs, rendering the version properties (hadoop-mapreduce.version and yarn.version) practically useless.

      This patch will install POMs with version (only) properties expanded. This patch also use inheritance and dependencyManagement to make POMs DRYer. It could use further cleanup to reduce "unnecessary" dependencies in some modules, but it's a working start.

      To see the patch work, apply the patch and do a mvn clean install -P-cbuild -DskipTests to make sure sane POMs are installed and then working on individual test issues.

      1. mr-2432-poms-v1.patch
        60 kB
        Luke Lu
      2. mr-2432-poms-v2.patch
        60 kB
        Luke Lu
      3. mr-2432-poms-v3.patch
        60 kB
        Luke Lu

        Activity

          People

          • Assignee:
            Luke Lu
            Reporter:
            Luke Lu
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development