You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2022/09/01 11:18:14 UTC

[GitHub] [hive] ayushtkn commented on a diff in pull request #3549: HIVE-26495 : MSCK repair perf issue HMSChecker ThreadPool threads are blocked at fs.listStatus

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

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


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