GitHub user HyukjinKwon opened a pull request: https://github.com/apache/spark/pull/17642
[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? Currently, the build fails on the SBT master build but only for Hadoop 2.6. It seems the dependency resolution can be different. ``` [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 ## How was this patch tested? I tried many ways but I was unable to reproduce this in my local. Sean also tries the way I did but he was also unable to reproduce this. You can merge this pull request into a Git repository by running: $ git pull https://github.com/HyukjinKwon/spark SPARK-20343 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/17642.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 #17642 ---- commit 1ae57f2e569462734d89d9c8c77e765859ce8393 Author: hyukjinkwon <gurwls...@gmail.com> Date: 2017-04-15T00:25:33Z Explicitly override Avro version ---- --- 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