You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by ho...@apache.org on 2026/06/03 14:03:23 UTC
(paimon) 04/04: [filesystem] Fix hadoop uber shaded dependencies (#8054)
This is an automated email from the ASF dual-hosted git repository.
XiaoHongbo-Hope pushed a commit to branch release-1.4
in repository https://gitbox.apache.org/repos/asf/paimon.git
commit 9659e9c8cea2d0c1055c34ae9d4fb5e6f06a25dd
Author: XiaoHongbo <xi...@alibaba-inc.com>
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.
(cherry picked from commit cf1d2ce05c5b8c9afc00fc31a7c170c770b9a402)
---
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 6a83d3e9ce..b8c16a585c 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>