From f8bb642b7667f87e38962d8143ba1e9c2131c2c2 Mon Sep 17 00:00:00 2001 From: Y Ethan Guo Date: Tue, 14 May 2024 17:25:45 -0700 Subject: [PATCH] [HUDI-7759] Remove Hadoop dependencies in hudi-common module (#11220) Co-authored-by: Jonathan Vexler <=> --- hudi-common/pom.xml | 18 ------------------ .../view/TestPriorityBasedFileSystemView.java | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/hudi-common/pom.xml b/hudi-common/pom.xml index b02acb8d69b0..c793274cb0ba 100644 --- a/hudi-common/pom.xml +++ b/hudi-common/pom.xml @@ -189,24 +189,6 @@ rocksdbjni - - - org.apache.hadoop - hadoop-client - - - javax.servlet - * - - - provided - - - org.apache.hadoop - hadoop-hdfs - provided - - org.apache.hudi hudi-io 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 1e2b8e0c35e5..94e4308ab584 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 @@ protected TestLogAppender() { @Override public void append(LogEvent event) { - log.add(event); + log.add(event.toImmutable()); } public List getLog() {