-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#5982] feat (gvfs-fuse): Implement Gravitino fileset file system #5984
Conversation
� Conflicts: � clients/filesystem-fuse/src/main.rs � Conflicts: � clients/filesystem-fuse/src/filesystem.rs � clients/filesystem-fuse/src/main.rs
|
||
pub(crate) const CONF_GRAVITINO_METALAKE: ConfigEntity<&'static str> = ConfigEntity::new( | ||
GravitinoConfig::MODULE_NAME, | ||
"metalake", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gravitino_metalake?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to add a prefix. It is below GravitinoConfig::MODULE_NAME
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it does not consist of gravitino_uri
,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to uri
|
||
pub(crate) const CONF_FUSE_FILE_MASK: ConfigEntity<u32> = ConfigEntity::new( | ||
FuseConfig::MODULE_NAME, | ||
"file_mask", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we add filesystem
prefix ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to add a prefix. It is below FuseConfig::MODULE_NAME
.
|
||
static SERVER: Lazy<Mutex<Option<Arc<FuseServer>>>> = Lazy::new(|| Mutex::new(None)); | ||
|
||
pub(crate) enum CreateFsResult { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CreateFsResult
is a little odd, please provide a better name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CreateFileSystemResult
is better?
…em (apache#5984) ### What changes were proposed in this pull request? Implement an Gravitino fileset file system, Support mount fileset to local directory ### Why are the changes needed? Fix: apache#5982 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? UT and IT
…em (apache#5984) ### What changes were proposed in this pull request? Implement an Gravitino fileset file system, Support mount fileset to local directory ### Why are the changes needed? Fix: apache#5982 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? UT and IT
) ### What changes were proposed in this pull request? Implement an Gravitino fileset file system, Support mount fileset to local directory ### Why are the changes needed? Fix: #5982 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? UT and IT
…em (apache#5984) ### What changes were proposed in this pull request? Implement an Gravitino fileset file system, Support mount fileset to local directory ### Why are the changes needed? Fix: apache#5982 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? UT and IT
What changes were proposed in this pull request?
Implement an Gravitino fileset file system, Support mount fileset to local directory
Why are the changes needed?
Fix: #5982
Does this PR introduce any user-facing change?
No
How was this patch tested?
UT and IT