This is an automated email from the ASF dual-hosted git repository.
yihua 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 7e5ff1ec89f [HUDI-7759] Remove Hadoop dependencies in hudi-common
module (#11220)
7e5ff1ec89f is described below
commit 7e5ff1ec89f298a5555b4fd16c1774917695ca56
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 1b1f2f15a2a..221590cd69e 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 eb30e1387c1..3d9a142e055 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
@@ -767,7 +767,7 @@ public class TestPriorityBasedFileSystemView {
@Override
public void append(LogEvent event) {
- log.add(event);
+ log.add(event.toImmutable());
}
public List<LogEvent> getLog() {