GithubHelp home page GithubHelp logo

Comments (5)

cerveada avatar cerveada commented on May 26, 2024

Hello, it looks like wrong version of org.apache.avro is in use. Avro 1.8 or higher should be ok. Abris uses 1.8.2. My guess is that in your app it's overwriten to some older version. Could you check that please?

from abris.

 avatar commented on May 26, 2024

Spark 2.3.0 uses Avro 1.7.7
https://github.com/apache/spark/blob/v2.3.0/pom.xml#L142

This library uses Spark 2.3.0 and also Avro 1.8.2.

from abris.

cerveada avatar cerveada commented on May 26, 2024

Yes, this is due to dependency on spark-avro 2.4.4 which needs Avro 1.8+.

We are planing to relase a version for Scala 2.12 and spark 2.4.4 soon, but you could also explicitly declare dependency on avro 1.8. in your app and overwrite the one that comes from spark you are including.

However Abris doesn't fail to build for scala. The problem commes from your app using spark 2.3 which in turn overrides the dependency on avor to 2.7.

from abris.

cerveada avatar cerveada commented on May 26, 2024

New version (3.0.1) was just released, but it takes like six hours to get to maven central.

If you want to use spark 2.4.x try the new version, it should work well. For spark 2.3.x you still need to have a dependency on avro 1.8.

from abris.

 avatar commented on May 26, 2024

Great, thank you! I will give the new release a try.

from abris.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.