Skip to content

Commit

Permalink
[MINOR] Add Hopsworks File System to StorageSchemes (apache#10141)
Browse files Browse the repository at this point in the history
  • Loading branch information
SirOibaf authored Nov 20, 2023
1 parent 3913dca commit 3225625
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ public enum StorageSchemes {
// Volcengine Object Storage
TOS("tos", null, null),
// Volcengine Cloud HDFS
CFS("cfs", null, null);
CFS("cfs", null, null),
// Hopsworks File System
HOPSFS("hopsfs", false, true);

private String scheme;
// null for uncertain if write is transactional, please update this for each FS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public void testStorageSchemes() {
assertFalse(StorageSchemes.isAtomicCreationSupported("oci"));
assertFalse(StorageSchemes.isAtomicCreationSupported("tos"));
assertFalse(StorageSchemes.isAtomicCreationSupported("cfs"));
assertTrue(StorageSchemes.isAtomicCreationSupported("hopsfs"));
}

@Test
Expand Down

0 comments on commit 3225625

Please sign in to comment.