You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Roman Vlasenko (Jira)" <ji...@apache.org> on 2026/03/06 07:48:00 UTC

[jira] [Created] (HADOOP-19832) hadoop-shaded-guava 1.5.0: missing relocation for org.jspecify causes classpath collisions

Roman Vlasenko created HADOOP-19832:
---------------------------------------

             Summary: 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


`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: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org