roryqi commented on code in PR #11354:
URL: https://github.com/apache/gravitino/pull/11354#discussion_r3400452690


##########
catalogs/catalog-fileset/src/main/java/org/apache/gravitino/catalog/fileset/FilesetCatalogOperations.java:
##########
@@ -1386,7 +1386,10 @@ FileSystem getFileSystem(Path path, Map<String, String> 
config) throws IOExcepti
             () -> {
               if (scheme.equals(SCHEME_HDFS)) {
                 return new ImpersonationHDFSFileSystemProxy(
-                        path, config, PrincipalUtils::getCurrentUserName)
+                        path,
+                        config,
+                        PrincipalUtils::getCurrentUserName,
+                        GravitinoEnv.getInstance().blockUnsafeRemoteUri())

Review Comment:
   Actually i mean that
   ```
   FileFectcher fetcher = FileFetcher.get();
   fetcher.initiailize();
   ```



##########
catalogs/catalog-fileset/src/main/java/org/apache/gravitino/catalog/fileset/FilesetCatalogOperations.java:
##########
@@ -1386,7 +1386,10 @@ FileSystem getFileSystem(Path path, Map<String, String> 
config) throws IOExcepti
             () -> {
               if (scheme.equals(SCHEME_HDFS)) {
                 return new ImpersonationHDFSFileSystemProxy(
-                        path, config, PrincipalUtils::getCurrentUserName)
+                        path,
+                        config,
+                        PrincipalUtils::getCurrentUserName,
+                        GravitinoEnv.getInstance().blockUnsafeRemoteUri())

Review Comment:
   Actually i mean like
   ```
   FileFectcher fetcher = FileFetcher.get();
   fetcher.initiailize();
   ```



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