You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2014/05/15 01:56:16 UTC

[jira] [Commented] (OOZIE-1833) Oozie build error on old maven-project-info-reports-plugin

    [ https://issues.apache.org/jira/browse/OOZIE-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13998286#comment-13998286 ] 

Robert Kanter commented on OOZIE-1833:
--------------------------------------

Due to the way Oozie includes Hadoop jars, you can't simply change "hadoop.version" on the CLI; that won't compile as you saw.  

We have 4 profiles you can use to compile against different versions of Hadoop, and as of Oozie 4.0.1, they map like this:
- Hadoop 1.1.1 :: (default, no profile)
- Hadoop 0.23.5 :: {{hadoop-23}}
- Hadoop 2.3.0 :: {{hadoop-2}}
- Hadoop 3.0.0-SNAPSHOT (trunk) :: {{hadoop-3}}

So, for what you want, Hadoop 2.3.0:
{noformat}
bin/mkdistro.sh -Phadoop-2 -DskipTests
{noformat}

> Oozie build error on old maven-project-info-reports-plugin
> ----------------------------------------------------------
>
>                 Key: OOZIE-1833
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1833
>             Project: Oozie
>          Issue Type: Improvement
>          Components: build, bundle
>    Affects Versions: 4.0.0, 4.0.1
>         Environment: Osx 10.9.2 jdk 1.6.0_65-b14462-11M4609
>            Reporter: Antonio Conte
>
> during build with 
> bin/mkdistro.sh -Dhadoop.version=2.3.0 -DskipTests
> build fails on "Apache Oozie Share Lib Distcp"
> [INFO] --- maven-project-info-reports-plugin:2.3:dependencies (default) @ oozie-webapp ---
> [ERROR] Artifact: org.apache.hadoop:avro:jar:1.3.2 has no file.
> to solve please update main pom.xml with 
> line:805
>                 <plugin>
>                     <groupId>org.apache.maven.plugins</groupId>
>                     <artifactId>maven-project-info-reports-plugin</artifactId>
>                     <version>2.7</version>
>                 </plugin>



--
This message was sent by Atlassian JIRA
(v6.2#6252)