Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
0.7
-
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.