ayushtkn commented on code in PR #3549:
URL: https://github.com/apache/hive/pull/3549#discussion_r960527439
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java:
##########
@@ -585,10 +586,18 @@ private Path processPathDepthInfo(final PathDepthInfo pd)
if (currentDepth == partColNames.size()) {
return currentPath;
}
- FileStatus[] fileStatuses = fs.listStatus(currentPath,
FileUtils.HIDDEN_FILES_PATH_FILTER);
Review Comment:
Can use `RemoteIterators.filteringRemoteIterator`
there is one wrapper in FileUtils as well.
https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/common/FileUtils.java#L1339-L1342
--
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]