Comments (5)
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.
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.
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.
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.
Great, thank you! I will give the new release a try.
from abris.
Related Issues (20)
- from_avro converts `\uFFFD` to a question mark HOT 1
- schema registry being called with http instead of https HOT 2
- Improve code-coverage & add GH check action HOT 1
- Fix JaCoCo CI for PRs from forked repos HOT 1
- update madrapps/jacoco-report
- Detect different schema versions in batch HOT 5
- Revert pull_request action back HOT 3
- TopicNameStrategy issue HOT 1
- Split GitHub actions for tests and test coverage
- Multiple schemas in one topic example HOT 1
- Spark 3.4 Support HOT 13
- malformed records to topic HOT 2
- foreach batch download by schem id HOT 3
- Container exited with a non-zero exit code 137 | Out of memory HOT 5
- Issues running inside Scala notebook on databricks HOT 1
- Fix tests for Spark 3.5.0
- Fix NoSuchMethodException in Spark 3.5.x
- get key from avro message HOT 3
- Compatibility with Spark 3.5 HOT 3
- Version 6.4.0 failing for Spark 3.5.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abris.