linkedin / linkedin/avro-util

avro-fastserde: Not compatible with Java 11.

Open
#63 0 comments 0 reactions 0 assignees View on GitHub
enhancement fastavro
Dominant language
Java
Stars
87
Forks
73
Avg merge
2h 50m
Merged PRs (30d)
1

Description

The avro-fastserde-0.2.1.jar includes package org.apache.avro.generic which is also defined in the avro jar (in this case avro-1.9.2.jar). Java 11 modules does not allow the same package to be used in different jars and results in the error

The package org.apache.avro.generic is accessible from more than one module: avro.fastserde, org.apache.avro

The older rtbhouse version of avro-fastserde did not include this package and did not have this issue.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting avro-fastserde-0.2.1.jar alongside avro-1.9.2.jar and reproduce the Java 11 module error involving org.apache.avro.generic. Compare the package contents with the older rtbhouse avro-fastserde version. Done means the duplicate package is removed and avro-fastserde works with Java 11.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.