Adjust ForkJoinPool prefix in HdfsClientThreadLeakFilter (#127534)

Adds the ForkJoinPool.commonPool-worker- prefix to the
Thread getName().startsWith() checks in HdfsClientThreadLeakFilter.
This resolves the
"There are still zombie threads that couldn't be terminated"
errors in the Hdfs IT tests.

Closes #127290
Closes #127289
Closes #127288
Closes #127287
This commit is contained in:
Jeremy Dahlgren 2025-05-02 19:00:40 -04:00 committed by GitHub
parent 0df0873352
commit 4408e38bc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,6 +35,7 @@ public final class HdfsClientThreadLeakFilter implements ThreadFilter {
|| t.getName().startsWith("SSL Certificates Store Monitor") // hadoop 3 brings that in || t.getName().startsWith("SSL Certificates Store Monitor") // hadoop 3 brings that in
|| t.getName().startsWith("GcTimeMonitor") // hadoop 3 || t.getName().startsWith("GcTimeMonitor") // hadoop 3
|| t.getName().startsWith("Command processor") // hadoop 3 || t.getName().startsWith("Command processor") // hadoop 3
|| t.getName().startsWith("ForkJoinPool-"); // hadoop 3 || t.getName().startsWith("ForkJoinPool-") // hadoop 3
|| t.getName().startsWith("ForkJoinPool.commonPool-worker-"); // hadoop 3
} }
} }