yihua commented on code in PR #13666:
URL: https://github.com/apache/hudi/pull/13666#discussion_r2248591842


##########
hudi-hadoop-common/src/main/java/org/apache/hudi/hadoop/fs/HadoopFSUtils.java:
##########
@@ -577,11 +577,10 @@ public static Map<String, Boolean> deleteFilesParallelize(
         (FileSystem) metaClient.getStorage().getFileSystem(),
         parallelism,
         pairOfSubPathAndConf -> {
-          Path file = new Path(pairOfSubPathAndConf.getKey());
+          StoragePath file = new StoragePath(pairOfSubPathAndConf.getKey());

Review Comment:
   The changes in this method look good.  Since this method no longer depends 
on Hadoop `FileSystem` or `Path` classes, could this method be moved to 
`FSUtils` class?



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