This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 990b8e748e [core] Support dls file system (#7145)
990b8e748e is described below
commit 990b8e748eafc089cb704fb80c22e1a6f69b2f49
Author: Kerwin Zhang <[email protected]>
AuthorDate: Thu Jan 29 11:20:49 2026 +0800
[core] Support dls file system (#7145)
---
paimon-filesystems/paimon-jindo/pom.xml | 53 ++++++++++++++++++++++
.../org/apache/paimon/jindodls/JindoDLSLoader.java | 46 +++++++++++++++++++
.../services/org.apache.paimon.fs.FileIOLoader | 1 +
.../org/apache/paimon/jindodls/DLSFileIOTest.java | 44 ++++++++++++++++++
4 files changed, 144 insertions(+)
diff --git a/paimon-filesystems/paimon-jindo/pom.xml
b/paimon-filesystems/paimon-jindo/pom.xml
index eafba044cc..d5a093811b 100644
--- a/paimon-filesystems/paimon-jindo/pom.xml
+++ b/paimon-filesystems/paimon-jindo/pom.xml
@@ -123,5 +123,58 @@
<version>1.1.3</version>
<scope>test</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-hdfs</artifactId>
+ <version>${hadoop.version}</version>
+ <scope>test</scope>
+ <type>test-jar</type>
+ <exclusions>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ch.qos.reload4j</groupId>
+ <artifactId>reload4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-reload4j</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-common</artifactId>
+ <scope>test</scope>
+ <type>test-jar</type>
+ <version>${hadoop.version}</version><!--$NO-MVN-MAN-VER$-->
+ <exclusions>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </exclusion>
+ <exclusion>
+ <!-- This dependency is no longer shipped with the JDK
since Java 9.-->
+ <groupId>jdk.tools</groupId>
+ <artifactId>jdk.tools</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ch.qos.reload4j</groupId>
+ <artifactId>reload4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-reload4j</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
</dependencies>
</project>
\ No newline at end of file
diff --git
a/paimon-filesystems/paimon-jindo/src/main/java/org/apache/paimon/jindodls/JindoDLSLoader.java
b/paimon-filesystems/paimon-jindo/src/main/java/org/apache/paimon/jindodls/JindoDLSLoader.java
new file mode 100644
index 0000000000..12aeeb7e03
--- /dev/null
+++
b/paimon-filesystems/paimon-jindo/src/main/java/org/apache/paimon/jindodls/JindoDLSLoader.java
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.paimon.jindodls;
+
+import org.apache.paimon.fs.FileIO;
+import org.apache.paimon.fs.FileIOLoader;
+import org.apache.paimon.fs.Path;
+import org.apache.paimon.jindo.JindoFileIO;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/** File loader for {@link JindoFileIO}. */
+public class JindoDLSLoader implements FileIOLoader {
+
+ @Override
+ public List<String[]> requiredOptions() {
+ return new ArrayList<>();
+ }
+
+ @Override
+ public String getScheme() {
+ return "dls";
+ }
+
+ @Override
+ public FileIO load(Path path) {
+ return new JindoFileIO();
+ }
+}
diff --git
a/paimon-filesystems/paimon-jindo/src/main/resources/META-INF/services/org.apache.paimon.fs.FileIOLoader
b/paimon-filesystems/paimon-jindo/src/main/resources/META-INF/services/org.apache.paimon.fs.FileIOLoader
index ce136e2263..952de1d341 100644
---
a/paimon-filesystems/paimon-jindo/src/main/resources/META-INF/services/org.apache.paimon.fs.FileIOLoader
+++
b/paimon-filesystems/paimon-jindo/src/main/resources/META-INF/services/org.apache.paimon.fs.FileIOLoader
@@ -14,3 +14,4 @@
# limitations under the License.
org.apache.paimon.jindo.JindoLoader
+org.apache.paimon.jindodls.JindoDLSLoader
diff --git
a/paimon-filesystems/paimon-jindo/src/test/java/org/apache/paimon/jindodls/DLSFileIOTest.java
b/paimon-filesystems/paimon-jindo/src/test/java/org/apache/paimon/jindodls/DLSFileIOTest.java
new file mode 100644
index 0000000000..70928fe78a
--- /dev/null
+++
b/paimon-filesystems/paimon-jindo/src/test/java/org/apache/paimon/jindodls/DLSFileIOTest.java
@@ -0,0 +1,44 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.paimon.jindodls;
+
+import org.apache.paimon.catalog.CatalogContext;
+import org.apache.paimon.fs.FileIO;
+import org.apache.paimon.fs.Path;
+import org.apache.paimon.jindo.JindoFileIO;
+import org.apache.paimon.options.Options;
+
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.io.TempDir;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+/** Test for DLS {@link FileIO}. */
+public class DLSFileIOTest {
+
+ @TempDir java.nio.file.Path tempDir;
+
+ @Test
+ public void testDLSFileIO() throws Exception {
+ Options options = new Options();
+ FileIO fileIO =
+ FileIO.get(new Path("dls://" + tempDir.toString()),
CatalogContext.create(options));
+ assertThat(fileIO).isInstanceOf(JindoFileIO.class);
+ }
+}