brucearctor commented on code in PR #13891:
URL: https://github.com/apache/gravitino/pull/13891#discussion_r4588558921


##########
clients/filesystem-hadoop3/src/main/java/org/apache/gravitino/filesystem/hadoop/BaseGVFSOperations.java:
##########
@@ -773,7 +785,7 @@ private FileSystem getActualFileSystemByLocationName(
           filesetIdent);
 
       Path targetLocation = new 
Path(fileset.storageLocations().get(targetLocationName));
-      Map<String, String> allProperties = getAllProperties(filesetIdent);
+      Map<String, String> allProperties = getAllProperties(filesetIdent, 
fileset);

Review Comment:
   Addressed in 2c4ace1c6 — `getCredentialProperties` now accepts the preloaded 
`Fileset` and calls `fileset.supportsCredentials().getCredentials()` directly 
on it, and 
`TestBaseGVFSOperationsSecrets#testGetActualFileSystemByLocationNameLoadsMetadataAndCredentialsOnceWhenCacheDisabled`
 verifies a single `loadFileset` and single `getCredentials` call.



-- 
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