yikf commented on a change in pull request #3042: URL: https://github.com/apache/hadoop/pull/3042#discussion_r638417055
########## File path: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java ########## @@ -4004,12 +4004,14 @@ public void cleanUp() { * Background action to act on references being removed. */ private static class StatisticsDataReferenceCleaner implements Runnable { + private static int REF_QUEUE_POLL_TIMEOUT = 100; Review comment: En, We should take this time into consideration. If it is too long, many resources need to be recycled in a certain period of time, which may lead to low recycling efficiency. we can refer this: -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org