deniskuzZ commented on code in PR #4114: URL: https://github.com/apache/hive/pull/4114#discussion_r1145932988
########## 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: why do you need this, you could simply use `listStatusIterator` as in `getHdfsDirSnapshotsForCleaner` -- 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