Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1102

Mahout build fails for default profile if hadoop.version is passed as argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.7
    • 0.7, 0.8, 1.0.0
    • build-classic
    • None

    Description

      Default hadoop-0.20 profile is used for mahout-core. Profile hadoop-0.23 is driven by hadoop.version variable defined at command line.
      The build fails for hadoop-common and hadoop-maprreduce dependency as these jars are not the part of hadoop-1.1.x.
      hadoop.version change to 1.1.x at command line, makes hadoop-0.23 profile to be activated, and we don't want to activate hadoop-0.23 profile for hadoop-1.1.x.

      If hadoop.version is overridden and hadoop-20 profile is activated and hadoop-23 profile is deactivated using command
      mvn -P hadoop-0.20,'!hadoop-0.23' -Dhadoop.version=1.1.0 help:active-profiles clean install -DskipTests.

      This results in mahout-integration project failure for the dependency of hadoop-common and hadoop-maprreduce.

      Moving the profile from core/pom.xml to parent pom.xml resolve the Issue.

      Attachments

        1. MAHOUT-1102.patch
          3 kB
          Ashish Singh

        Activity

          People

            Unassigned Unassigned
            ashishujjain Ashish Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: