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

vbalaji 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 734015f750d [HUDI-7394] Fix run script of hudi-timeline-server-bundle 
(#10640)
734015f750d is described below

commit 734015f750d1d661fb247bb9597d9905987b3d76
Author: voonhous <[email protected]>
AuthorDate: Fri Feb 9 03:05:29 2024 +0800

    [HUDI-7394] Fix run script of hudi-timeline-server-bundle (#10640)
---
 packaging/hudi-timeline-server-bundle/pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/packaging/hudi-timeline-server-bundle/pom.xml 
b/packaging/hudi-timeline-server-bundle/pom.xml
index f632fdcdf61..4330a6013fa 100644
--- a/packaging/hudi-timeline-server-bundle/pom.xml
+++ b/packaging/hudi-timeline-server-bundle/pom.xml
@@ -76,6 +76,13 @@
             <artifactId>rocksdbjni</artifactId>
         </dependency>
 
+        <!-- Override the provided scope defined in hudi-common -->
+        <dependency>
+            <groupId>org.apache.avro</groupId>
+            <artifactId>avro</artifactId>
+            <scope>compile</scope>
+        </dependency>
+
         <!-- Hadoop -->
         <dependency>
             <groupId>org.apache.hadoop</groupId>
@@ -192,6 +199,7 @@
                       <include>commons-io:commons-io</include>
                       <include>log4j:log4j</include>
                       <include>org.openjdk.jol:jol-core</include>
+                      <include>org.apache.avro:avro</include>
                   </includes>
                 </artifactSet>
                 <relocations combine.children="append">
@@ -207,6 +215,10 @@
                         <pattern>com.fasterxml.jackson.</pattern>
                         
<shadedPattern>org.apache.hudi.com.fasterxml.jackson.</shadedPattern>
                     </relocation>
+                    <relocation>
+                        <pattern>org.apache.avro.</pattern>
+                        
<shadedPattern>org.apache.hudi.org.apache.avro.</shadedPattern>
+                    </relocation>
                 </relocations>
             </configuration>
             <executions>

Reply via email to