diqiu50 opened a new issue, #5504:
URL: https://github.com/apache/gravitino/issues/5504

   ### Describe the proposal
   
    Implement GVFS fuse tools to access Gravitino file sets in the POSIX  
Protocols
   
   ```
   # init fileset
   fs_context = gvfs.fs.context(server_uri="http://localhost:8090";, 
metalake_name="test_metalake", properties=config_gv)
   fileset = 
fs_context.createFileset(path="fileset/test_catalog/schema1/ai_fileset", 
properties=config_fs)
   
   # mount dir
   root_dir = fileset.getRoot()
   mount_dir = "/mnt/myfileset"
   gvfs.util.mount(root_dir, mount_dir, properties=fileset.config())
   
   # read file in the mounted directory
   file_f = read(mountdir + "/0567/a.txt")
   print(file_f.readToString())
   
   # unmount
   gvfs.util.unmount(mount_dir)
   ```
   
   ```
   #mount
   gvfsutil mount --gvfs_path gvfs://fileset/test_catalog/schema1/ai_fileset 
--mount_path /mnt/ai_fileset --config /tmp/gvfs.config 
   
   #unmount
   gvfsutil unmount /mnt/fileset/test_catalog/schema1/ai_fileset
   ```
   
   ### Task list
   
   ### Task list
   
   - [ ] Gvfs - Fuse Project Setup
   - [ ] Code Layout
   - [ ] Fuse API Handling
   - [ ] Gvfs basics filesystem APIs
   - [ ] Gvfs Metadata Cache
   - [ ] Gvfs Data Cache
   - [ ] Gravitino Fileset client go implementation
   - [ ] Gvfs Support for JuiceFS
   - [ ] Gvfs Support for S3
   - [ ] Support for Mounting to Catalog and Schema Levels
   - [ ] Gvfs Fuse Tools
   - [ ] Gvfs Fuse Python Support
   - [ ] Gvfs Permissions and Quotas
   - [ ] Gvfs Monitoring and Metrics
   - [ ] Gvfs Read/Write Performance Optimization
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to