Skip to content

Commit

Permalink
[HUDI-1803] Support BAIDU AFS storage format in hudi (apache#2836)
Browse files Browse the repository at this point in the history
  • Loading branch information
xglv1985 authored Apr 16, 2021
1 parent 62b8a34 commit 1d53d6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public enum StorageSchemes {
FILE("file", false),
// Hadoop File System
HDFS("hdfs", true),
// Baidu Advanced File System
AFS("afs", true),
// Mapr File System
MAPRFS("maprfs", true),
// Apache Ignite FS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class TestStorageSchemes {
@Test
public void testStorageSchemes() {
assertTrue(StorageSchemes.isSchemeSupported("hdfs"));
assertTrue(StorageSchemes.isSchemeSupported("afs"));
assertFalse(StorageSchemes.isSchemeSupported("s2"));
assertFalse(StorageSchemes.isAppendSupported("s3a"));
assertFalse(StorageSchemes.isAppendSupported("gs"));
Expand Down

0 comments on commit 1d53d6e

Please sign in to comment.