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

yihua pushed a commit to branch branch-0.x
in repository https://gitbox.apache.org/repos/asf/hudi.git

commit f8bb642b7667f87e38962d8143ba1e9c2131c2c2
Author: Y Ethan Guo <[email protected]>
AuthorDate: Tue May 14 17:25:45 2024 -0700

    [HUDI-7759] Remove Hadoop dependencies in hudi-common module (#11220)
    
    Co-authored-by: Jonathan Vexler <=>
---
 hudi-common/pom.xml                                    | 18 ------------------
 .../table/view/TestPriorityBasedFileSystemView.java    |  2 +-
 2 files changed, 1 insertion(+), 19 deletions(-)

diff --git a/hudi-common/pom.xml b/hudi-common/pom.xml
index b02acb8d69b..c793274cb0b 100644
--- a/hudi-common/pom.xml
+++ b/hudi-common/pom.xml
@@ -189,24 +189,6 @@
       <artifactId>rocksdbjni</artifactId>
     </dependency>
 
-    <!-- Hadoop -->
-    <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-client</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>javax.servlet</groupId>
-          <artifactId>*</artifactId>
-        </exclusion>
-      </exclusions>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>hadoop-hdfs</artifactId>
-      <scope>provided</scope>
-    </dependency>
-
     <dependency>
       <groupId>org.apache.hudi</groupId>
       <artifactId>hudi-io</artifactId>
diff --git 
a/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestPriorityBasedFileSystemView.java
 
b/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestPriorityBasedFileSystemView.java
index 1e2b8e0c35e..94e4308ab58 100644
--- 
a/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestPriorityBasedFileSystemView.java
+++ 
b/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestPriorityBasedFileSystemView.java
@@ -741,7 +741,7 @@ public class TestPriorityBasedFileSystemView {
 
     @Override
     public void append(LogEvent event) {
-      log.add(event);
+      log.add(event.toImmutable());
     }
 
     public List<LogEvent> getLog() {

Reply via email to