jerryshao commented on code in PR #5324:
URL: https://github.com/apache/gravitino/pull/5324#discussion_r1824024139
##########
docs/how-to-use-gvfs.md:
##########
@@ -76,9 +123,21 @@ You can configure these properties in two ways:
conf.set("fs.gvfs.impl","org.apache.gravitino.filesystem.hadoop.GravitinoVirtualFileSystem");
conf.set("fs.gravitino.server.uri","http://localhost:8090");
conf.set("fs.gravitino.client.metalake","test_metalake");
+
+ // Optional. It's only for s3 catalog, for GCs and OSS catalog, you should
set the corresponding properties.
+ conf.set("fs.gvfs.filesystem.providers", "s3");
+ conf.set("s3-endpoint", "http://localhost:9000");
+ conf.set("s3-access-key-id", "minio");
+ conf.set("s3-secret-access-key", "minio123");
+
Path filesetPath = new
Path("gvfs://fileset/test_catalog/test_schema/test_fileset_1");
FileSystem fs = filesetPath.getFileSystem(conf);
```
+
+:::note
+If you want to access the s3, gcs, oss or custom fileset through GVFS, apart
from the above properties, you need to place the corresponding bundle jar in
the Hadoop environment.
Review Comment:
"S3, GCS, OSS"
--
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]