mdayakar commented on code in PR #4114:
URL: https://github.com/apache/hive/pull/4114#discussion_r1152241772


##########
common/src/java/org/apache/hadoop/hive/common/FileUtils.java:
##########
@@ -1376,6 +1376,12 @@ public static RemoteIterator<FileStatus> 
listStatusIterator(FileSystem fs, Path
         status -> filter.accept(status.getPath()));
   }
 
+  public static RemoteIterator<LocatedFileStatus> 
listLocatedStatusIterator(FileSystem fs, Path path, PathFilter filter)

Review Comment:
   Changed code to use FileStatus object and using existing 
_org.apache.hadoop.hive.common.FileUtils#listStatusIterator()_ API which is 
used in 
_org.apache.hadoop.hive.ql.io.AcidUtils#getHdfsDirSnapshotsForCleaner()_ API.



-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to