This is an automated email from the ASF dual-hosted git repository.

xuba pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git


The following commit(s) were added to refs/heads/master by this push:
     new 5e3eddb3f [HotFix] Shade third party classes for spark-3.4 runtime 
(#4032)
5e3eddb3f is described below

commit 5e3eddb3fae3451f585fc9a7cb15e84f02ab33ce
Author: zhangwl9 <[email protected]>
AuthorDate: Tue Jan 13 20:02:09 2026 +0800

    [HotFix] Shade third party classes for spark-3.4 runtime (#4032)
    
    Shade third party classes for spark runtime 3.4
    
    Co-authored-by: 张文领 <[email protected]>
---
 .../v3.4/amoro-mixed-spark-runtime-3.4/pom.xml     | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git 
a/amoro-format-mixed/amoro-mixed-spark/v3.4/amoro-mixed-spark-runtime-3.4/pom.xml
 
b/amoro-format-mixed/amoro-mixed-spark/v3.4/amoro-mixed-spark-runtime-3.4/pom.xml
index 095abedfd..4eebeea53 100644
--- 
a/amoro-format-mixed/amoro-mixed-spark/v3.4/amoro-mixed-spark-runtime-3.4/pom.xml
+++ 
b/amoro-format-mixed/amoro-mixed-spark/v3.4/amoro-mixed-spark-runtime-3.4/pom.xml
@@ -120,6 +120,23 @@
                                         
<exclude>META-INF/services/org.apache.spark.sql.sources.DataSourceRegister</exclude>
                                     </excludes>
                                 </filter>
+                                <filter>
+                                    <artifact>*:*</artifact>
+                                    <excludes>
+                                        <exclude>META-INF/*.SF</exclude>
+                                        <exclude>META-INF/*.DSA</exclude>
+                                        <exclude>META-INF/*.RSA</exclude>
+                                        <exclude>**/log4j.properties</exclude>
+                                        
<exclude>META-INF/DEPENDENCIES</exclude>
+                                        <exclude>META-INF/*LICENSE*</exclude>
+                                        <exclude>META-INF/MANIFEST.MF</exclude>
+                                        <exclude>META-INF/*NOTICE*</exclude>
+                                        
<exclude>META-INF/**/module-info.class</exclude>
+                                        <exclude>LICENSE.txt</exclude>
+                                        <exclude>NOTICE.txt</exclude>
+                                        <exclude>mozilla/*.txt</exclude>
+                                    </excludes>
+                                </filter>
                             </filters>
                             <relocations>
                                 <!-- relocation amoro spark packages -->
@@ -133,6 +150,11 @@
                                     <pattern>org.apache.orc</pattern>
                                     
<shadedPattern>org.apache.amoro.shade.org.apache.orc</shadedPattern>
                                 </relocation>
+                                <!-- classes in orc-core -->
+                                <relocation>
+                                    <pattern>org.threeten</pattern>
+                                    
<shadedPattern>org.apache.amoro.shade.org.threeten</shadedPattern>
+                                </relocation>
                                 <relocation>
                                     <pattern>org.apache.avro</pattern>
                                     
<shadedPattern>org.apache.amoro.shade.org.apache.avro</shadedPattern>
@@ -185,6 +207,18 @@
                                     <pattern>org.apache.commons.lang3</pattern>
                                     
<shadedPattern>org.apache.amoro.shade.org.apache.commons.lang3</shadedPattern>
                                 </relocation>
+                                <relocation>
+                                    <pattern>org.apache.commons.io</pattern>
+                                    
<shadedPattern>org.apache.amoro.shade.org.apache.commons.io</shadedPattern>
+                                </relocation>
+                                <relocation>
+                                    <pattern>org.apache.thrift</pattern>
+                                    
<shadedPattern>org.apache.amoro.shade.org.apache.thrift</shadedPattern>
+                                </relocation>
+                                <relocation>
+                                    <pattern>com.github.benmanes</pattern>
+                                    
<shadedPattern>org.apache.amoro.shade.com.github.benmanes</shadedPattern>
+                                </relocation>
 
                                 <!-- relocation iceberg -->
                                 <relocation>

Reply via email to