Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20343

SBT master build for Hadoop 2.6 in Jenkins fails due to Avro version resolution

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: Build
    • Labels:
      None

      Description

      Please refer https://github.com/apache/spark/pull/17477#issuecomment-293942637

      [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

      It seems sbt has a different resolution for Avro differently with Maven in some cases.

        Attachments

          Activity

            People

            • Assignee:
              hyukjin.kwon Hyukjin Kwon
              Reporter:
              hyukjin.kwon Hyukjin Kwon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: