acfly opened a new issue, #7761: URL: https://github.com/apache/gravitino/issues/7761
### Version 0.9.0 ### Describe what's wrong I just use gravitino to create a fileset with minio as storage system. <img width="1277" height="617" alt="Image" src="https://github.com/user-attachments/assets/661442fb-82ea-400c-b335-63170b541803" /> and the python code below throws an error. ``` from gravitino import gvfs options = { "cache_size": 20, "cache_expired_time": 3600, "auth_type": "simple", "s3_endpoint": "http://localhost:9000", "s3_access_key_id": "admin", "s3_secret_access_key": "password" } fs = gvfs.GravitinoVirtualFileSystem(server_uri="http://localhost:8090", metalake_name="demo", options=options) fs.ls(path="gvfs://fileset/minio_catalog/test/example/") ``` ### Error message and/or stacktrace the error goes like: ``` Traceback (most recent call last): File "/opt/bigdata/gravitino/script/test2.py", line 11, in <module> fs.ls(path="gvfs://fileset/minio_catalog/test/example/tranformer/") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bigdata/gravitino/script/.venv/lib64/python3.11/site-packages/gravitino/filesystem/gvfs.py", line 139, in ls result = decorated_ls(new_path, detail, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bigdata/gravitino/script/.venv/lib64/python3.11/site-packages/gravitino/filesystem/gvfs.py", line 104, in wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/opt/bigdata/gravitino/script/.venv/lib64/python3.11/site-packages/gravitino/filesystem/gvfs_default_operations.py", line 45, in ls actual_fs = self._get_actual_filesystem(path, self.current_location_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bigdata/gravitino/script/.venv/lib64/python3.11/site-packages/gravitino/filesystem/gvfs_base_operations.py", line 361, in _get_actual_filesystem return self._get_actual_filesystem_by_location_name( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bigdata/gravitino/script/.venv/lib64/python3.11/site-packages/gravitino/filesystem/gvfs_base_operations.py", line 390, in _get_actual_filesystem_by_location_name actual_fs = self._get_filesystem( ^^^^^^^^^^^^^^^^^^^^^ File "/opt/bigdata/gravitino/script/.venv/lib64/python3.11/site-packages/gravitino/filesystem/gvfs_base_operations.py", line 502, in _get_filesystem ).get_filesystem_with_expiration( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/bigdata/gravitino/script/.venv/lib64/python3.11/site-packages/gravitino/filesystem/gvfs_storage_handler.py", line 294, in get_filesystem_with_expiration s3_endpoint = options.get(GVFSConfig.GVFS_FILESYSTEM_S3_ENDPOINT) ^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'get' ``` ### How to reproduce gravtino version 0.9.0 ### Additional context _No response_ -- 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]
