GitHub user HyukjinKwon opened a pull request:

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

    [SPARK-20343][BUILD] Force Avro 1.7.7 in sbt build to resolve build failure 
in SBT Hadoop 2.6 master on Jenkins

    ## What changes were proposed in this pull request?
    
    This PR proposes to force Avro's version to 1.7.7 in core to resolve the 
build failure as below:
    
    ```
    [error] 
/home/jenkins/workspace/spark-master-test-sbt-hadoop-2.6/core/src/main/scala/org/apache/spark/serializer/GenericAvroSerializer.scala:123:
 value createDatumWriter is not a member of org.apache.avro.generic.GenericData
    [error]     writerCache.getOrElseUpdate(schema, 
GenericData.get.createDatumWriter(schema))
    [error]     
    ```
    
    
https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-sbt-hadoop-2.6/2770/consoleFull
    
    Note that this is a hack and should be removed in the future.
    
    ## How was this patch tested?
    
    I only tested this actually overrides the dependency.
    
    I tried many ways but I was unable to reproduce this in my local. Sean also 
tried the way I did but he was also unable to reproduce this.
    
    Please refer the comments in 
https://github.com/apache/spark/pull/17477#issuecomment-294094092

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

    $ git pull https://github.com/HyukjinKwon/spark SPARK-20343-sbt

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

    https://github.com/apache/spark/pull/17651.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 #17651
    
----
commit 56c1ebadcedf52ed561dfeca2712eb929ff7407d
Author: hyukjinkwon <[email protected]>
Date:   2017-04-16T16:02:40Z

    Force Avro 1.7.7 in sbt build to resolve build failure in SBT Hadoop 2.6 
master on Jenkins

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to