GitHub user medale opened a pull request:

    https://github.com/apache/spark/pull/4315

    [SPARK-3039] [BUILD] Spark assembly for new hadoop API (hadoop 2) contai...

    ...ns avro-mapred for
    
    hadoop 1 API had been marked as resolved but did not work for at least some
    builds due to version conflicts using avro-mapred-1.7.5.jar and
    avro-mapred-1.7.6-hadoop2.jar (the correct version) when building for 
hadoop2.
    
    sql/hive/pom.xml org.spark-project.hive:hive-exec's depends on 1.7.5:
    
    Building Spark Project Hive 1.2.0
    [INFO] 
------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-dependency-plugin:2.4:tree (default-cli) @ spark-hive_2.10 
---
    [INFO] org.apache.spark:spark-hive_2.10:jar:1.2.0
    [INFO] +- org.spark-project.hive:hive-exec:jar:0.13.1a:compile
    [INFO] |  \- org.apache.avro:avro-mapred:jar:1.7.5:compile
    [INFO] \- org.apache.avro:avro-mapred:jar:hadoop2:1.7.6:compile
    [INFO]
    
    Excluding this dependency allows the explicitly listed avro-mapred 
dependency
    to be picked up.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/medale/spark avro-hadoop2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/4315.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4315
    
----
commit 51b9c2a99b8cf7e931fc84419905d2f0a23bce3d
Author: medale <medal...@yahoo.com>
Date:   2015-02-02T22:00:54Z

    [SPARK-3039] [BUILD] Spark assembly for new hadoop API (hadoop 2) contains 
avro-mapred for
    hadoop 1 API had been marked as resolved but did not work for at least some
    builds due to version conflicts using avro-mapred-1.7.5.jar and
    avro-mapred-1.7.6-hadoop2.jar (the correct version) when building for 
hadoop2.
    
    sql/hive/pom.xml org.spark-project.hive:hive-exec's depends on 1.7.5:
    
    Building Spark Project Hive 1.2.0
    [INFO] 
------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-dependency-plugin:2.4:tree (default-cli) @ spark-hive_2.10 
---
    [INFO] org.apache.spark:spark-hive_2.10:jar:1.2.0
    [INFO] +- org.spark-project.hive:hive-exec:jar:0.13.1a:compile
    [INFO] |  \- org.apache.avro:avro-mapred:jar:1.7.5:compile
    [INFO] \- org.apache.avro:avro-mapred:jar:hadoop2:1.7.6:compile
    [INFO]
    
    Excluding this dependency allows the explicitly listed avro-mapred 
dependency
    to be picked up.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to