Skip to content
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

Merged
merged 72 commits into from
Dec 31, 2024

Conversation

diqiu50
Copy link
Contributor

@diqiu50 diqiu50 commented Dec 25, 2024

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

@diqiu50 diqiu50 requested a review from FANNG1 December 26, 2024 09:27
@diqiu50 diqiu50 changed the title [#5982] feat (gvfs-fuse): Implement a Gravitino fileset file system [#5982] feat (gvfs-fuse): Implement Gravitino fileset file system Dec 26, 2024
clients/filesystem-fuse/src/gvfs_fileset_fs.rs Outdated Show resolved Hide resolved
clients/filesystem-fuse/src/gvfs_fileset_fs.rs Outdated Show resolved Hide resolved
clients/filesystem-fuse/src/gvfs_fileset_fs.rs Outdated Show resolved Hide resolved
clients/filesystem-fuse/src/config.rs Outdated Show resolved Hide resolved

pub(crate) const CONF_GRAVITINO_METALAKE: ConfigEntity<&'static str> = ConfigEntity::new(
GravitinoConfig::MODULE_NAME,
"metalake",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gravitino_metalake?

Copy link
Contributor Author

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.

Copy link
Contributor

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,

Copy link
Contributor Author

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",
Copy link
Contributor

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 ?

Copy link
Contributor Author

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 {
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CreateFileSystemResult is better?

@diqiu50 diqiu50 requested a review from FANNG1 December 30, 2024 11:57
@FANNG1 FANNG1 merged commit 8dcc7b8 into apache:branch-gvfs-fuse-dev Dec 31, 2024
25 checks passed
diqiu50 added a commit to diqiu50/gravitino that referenced this pull request Jan 3, 2025
…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
diqiu50 added a commit to diqiu50/gravitino that referenced this pull request Jan 3, 2025
…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
jerryshao pushed a commit that referenced this pull request Jan 3, 2025
)

### 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
Abyss-lord pushed a commit to Abyss-lord/gravitino that referenced this pull request Jan 4, 2025
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants