geyanggang opened a new pull request, #10577:
URL: https://github.com/apache/gravitino/pull/10577
### What changes were proposed in this pull request?
Added `exclude("org.apache.avro")` to the hadoop2.common dependency in
`build.gradle.kts`. The hive2.metastore dependency already excludes Avro; this
change applies the same exclusion to hadoop-common for consistency.
### Why are the changes needed?
`hadoop-common:2.10.2` transitively brings in avro-1.7.7, which is outdated
and unused by the Paimon catalog. Removing it reduces the dependency footprint
and avoids potential conflicts with newer Avro versions used elsewhere.
Fix: #10576
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Verified via `./gradlew :catalogs:catalog-lakehouse-paimon:dependencyInsight
--dependency org.apache.avro:avro --configuration runtimeClasspath`, confirms
Avro is no longer resolved in the runtime classpath.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]