You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/04/29 08:29:16 UTC

[jira] [Resolved] (SPARK-1491) maven hadoop-provided profile fails to build

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

Patrick Wendell resolved SPARK-1491.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

> maven hadoop-provided profile fails to build
> --------------------------------------------
>
>                 Key: SPARK-1491
>                 URL: https://issues.apache.org/jira/browse/SPARK-1491
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.0.0
>            Reporter: Thomas Graves
>            Assignee: Guoqiang Li
>             Fix For: 1.0.0
>
>
> I tried to use the -Phadoop-profile with maven to build the assembly without the yarn/hadoop pieces that are already on the cluster, but it fails with:
> [ERROR]   The project org.apache.spark:spark-parent:1.0.0-SNAPSHOT (/home/tgraves/tgravescs-spark/pom.xml) has 2 errors
> [ERROR]     'dependencies.dependency.version' for org.apache.avro:avro-ipc:jar is missing. @ line 884, column 21
> [ERROR]     'dependencies.dependency.version' for org.apache.zookeeper:zookeeper:jar is missing. @ line 889, column 21
> [ERROR] 
> This means avro-ipc and zookeeper don't have versions in the dependencyManagement section.
> I tried on both hadoop 0.23 and hadoop 2.3.0.  build command like:
>  mvn  -Dyarn.version=0.23.9 -Dhadoop.version=0.23.9  -Pyarn-alpha -Phadoop-provided package -DskipTests



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