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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]