[
https://issues.apache.org/jira/browse/HADOOP-19832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18063437#comment-18063437
]
Roman Vlasenko commented on HADOOP-19832:
-----------------------------------------
Fix: https://github.com/apache/hadoop-thirdparty/pull/50
> hadoop-shaded-guava 1.5.0: missing relocation for org.jspecify causes
> classpath collisions
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-19832
> URL: https://issues.apache.org/jira/browse/HADOOP-19832
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Roman Vlasenko
> Priority: Minor
>
> `hadoop-shaded-guava` 1.5.0 bundles `org.jspecify:jspecify` classes but does
> not apply a relocation rule in the Maven shade plugin configuration. As a
> result, the classes remain at their original `org/jspecify/annotations/` path
> inside the shaded JAR.
> This causes classpath collisions when a project has both
> `hadoop-shaded-guava` and a direct or transitive dependency on the standalone
> `org.jspecify:jspecify` artifact on the classpath.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]