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

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


The following commit(s) were added to refs/heads/master by this push:
     new 46bb00e  [HUDI-3139] Shade htrace and parquet-avro in presto bundle 
(#4495)
46bb00e is described below

commit 46bb00e4df65999849dc740bd809e86a01e4fbfb
Author: Sagar Sumit <[email protected]>
AuthorDate: Sat Jan 8 20:59:36 2022 +0530

    [HUDI-3139] Shade htrace and parquet-avro in presto bundle (#4495)
    
    Filter out unnecessary classes
---
 packaging/hudi-presto-bundle/pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/packaging/hudi-presto-bundle/pom.xml 
b/packaging/hudi-presto-bundle/pom.xml
index 284f748..17101e2 100644
--- a/packaging/hudi-presto-bundle/pom.xml
+++ b/packaging/hudi-presto-bundle/pom.xml
@@ -123,6 +123,14 @@
                   <pattern>com.google.protobuf.</pattern>
                   
<shadedPattern>${presto.bundle.bootstrap.shade.prefix}com.google.protobuf.</shadedPattern>
                 </relocation>
+                <relocation>
+                  <pattern>org.apache.htrace.</pattern>
+                  
<shadedPattern>${presto.bundle.bootstrap.shade.prefix}org.apache.htrace.</shadedPattern>
+                </relocation>
+                <relocation>
+                  <pattern>org.apache.parquet.avro.</pattern>
+                  
<shadedPattern>${presto.bundle.bootstrap.shade.prefix}org.apache.parquet.avro.</shadedPattern>
+                </relocation>
               </relocations>
               <createDependencyReducedPom>false</createDependencyReducedPom>
               <filters>
@@ -133,6 +141,9 @@
                     <exclude>META-INF/*.DSA</exclude>
                     <exclude>META-INF/*.RSA</exclude>
                     <exclude>META-INF/services/javax.*</exclude>
+                    <exclude>com/esotericsoftware/reflectasm/**</exclude>
+                    <exclude>avro/shaded/com/google/common/**</exclude>
+                    <exclude>stringBehavior.avsc</exclude>
                   </excludes>
                 </filter>
               </filters>

Reply via email to