This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new cf1d2ce05c [filesystem] Fix hadoop uber shaded dependencies (#8054)
cf1d2ce05c is described below
commit cf1d2ce05c5b8c9afc00fc31a7c170c770b9a402
Author: XiaoHongbo <[email protected]>
AuthorDate: Mon Jun 1 22:01:59 2026 +0800
[filesystem] Fix hadoop uber shaded dependencies (#8054)
Fix `paimon-hadoop-uber` to make it a self-contained Hadoop uber jar.
`paimon-hadoop-uber` is intended for applications without Hadoop
dependencies. However, after #6327
narrowed the shade includes, the internal `paimon-hadoop-shaded`
artifact was not included in the final
jar.
This causes:
1. Maven/Gradle dependency resolution failure, because the published POM
references `paimon-hadoop-
shaded`, which is intentionally not deployed.
2. Runtime failure when users directly put `paimon-hadoop-uber.jar` on
the classpath, for example:
```text
java.lang.NoClassDefFoundError: com/ctc/wstx/io/InputBootstrapper
```
This patch includes org.apache.paimon:paimon-hadoop-shaded in the
paimon-hadoop-uber shade artifact set.
---
paimon-filesystems/paimon-hadoop-uber/pom.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/paimon-filesystems/paimon-hadoop-uber/pom.xml
b/paimon-filesystems/paimon-hadoop-uber/pom.xml
index fe14145f29..07991ccd18 100644
--- a/paimon-filesystems/paimon-hadoop-uber/pom.xml
+++ b/paimon-filesystems/paimon-hadoop-uber/pom.xml
@@ -650,6 +650,7 @@
<configuration>
<artifactSet>
<includes>
+
<include>org.apache.paimon:paimon-hadoop-shaded</include>
<include>com.google.guava:*</include>
<include>com.google.protobuf:*</include>
<include>com.google.code.findbugs:*</include>