Adjust ForkJoinPool prefix in HdfsClientThreadLeakFilter (#127534) (#128309)

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 #128305
Closes #128306
Closes #128307
Closes #128308

(cherry picked from commit 4408e38bc6)
This commit is contained in:
Jeremy Dahlgren 2025-05-22 10:42:22 -04:00 committed by GitHub
parent 7e6b0c96bd
commit 2dd25e9630
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
} }
} }