yuqi1129 commented on code in PR #5020:
URL: https://github.com/apache/gravitino/pull/5020#discussion_r1796864197
##########
clients/filesystem-hadoop3/src/main/java/org/apache/gravitino/filesystem/hadoop/GravitinoVirtualFileSystem.java:
##########
@@ -125,13 +136,33 @@ public void initialize(URI name, Configuration
configuration) throws IOException
initializeClient(configuration);
+ initializePluginFileSystem(configuration);
+
this.workingDirectory = new Path(name);
this.uri = URI.create(name.getScheme() + "://" + name.getAuthority());
setConf(configuration);
super.initialize(uri, getConf());
}
+ private void initializePluginFileSystem(Configuration configuration) {
+ String fileSystemProviders =
configuration.get("fs.gvfs.filesystem.providers");
Review Comment:
> I think you need define this config in the
GravitinoVirtualFileSystemConfiguration
OK.
> and how about use fs.gravitino.filesystem.providers
I will use another PR to add some documents about it after S3 and GCS are
finished, as GVFS doesn't depend on this configuration in the current code base
to support HDFS and localfile.
--
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]