Add gvfs as a storage scheme in Hudi #19961
Replies: 2 comments
|
Supporting GVFS sounds reasonable, but I think we should validate a few storage semantics before treating an entry in GVFS can resolve to different underlying filesystems, including HDFS and S3-compatible storage. There is also a separate scheme-dependent path in It would help to include integration coverage for GVFS over both HDFS and S3-compatible storage (MinIO would be useful for the latter), covering commits, failed-write recovery/rollback, and Merge-on-Read updates if included in the supported scope. Please also document any locking or concurrency limitations. For context, MinIO does not need its own scheme entry: Hudi accesses it through the existing |
|
Hi @danny0405 thanks for your inputs here I went through some of the code myself and appreciate the complexity with gvfs. Let me try to answer some of the questions you have posed.
We were using gvfs on top of hdfs filesystem. We are also planning to register and consume S3, Azure, Gcs catalogs as filesets in the future and we may need some solution there as well.
I will try to reproduce something like this. Do we have integration tests that can cover such a scenario? |
Uh oh!
There was an error while loading. Please reload this page.
I am working on a use case where we would like to enable Hudi tables to work with Apache Gravitino's "gvfs" filesystem.
Currently when we try to run spark jobs with gravitino over Hudi we face the following error
Caused by: java.lang.IllegalArgumentException: Unsupported scheme :gvfs at org.apache.hudi.storage.StorageSchemes.isWriteTransactional(StorageSchemes.java:144)The solution would be to add
gvfsas a storage scheme under StorageSchemesAll reactions