You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Ashish Singh (JIRA)" <ji...@apache.org> on 2012/10/18 02:50:03 UTC

[jira] [Updated] (MAHOUT-1102) Mahout build fails for default profile if hadoop.version is passed as arguments.

     [ https://issues.apache.org/jira/browse/MAHOUT-1102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Singh updated MAHOUT-1102:
---------------------------------

    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. 


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.


    
> Mahout build fails for default profile if hadoop.version is passed as arguments.
> --------------------------------------------------------------------------------
>
>                 Key: MAHOUT-1102
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1102
>             Project: Mahout
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.7
>            Reporter: Ashish Singh
>             Fix For: 1.0, 0.7, 0.8
>
>
> 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. 
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira