Skip to content

Commit 2dd25e9

Browse files
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 4408e38)
1 parent 7e6b0c9 commit 2dd25e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/fixtures/hdfs-fixture/src/main/java/org/elasticsearch/test/fixtures/hdfs/HdfsClientThreadLeakFilter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public boolean reject(Thread t) {
3535
|| t.getName().startsWith("SSL Certificates Store Monitor") // hadoop 3 brings that in
3636
|| t.getName().startsWith("GcTimeMonitor") // hadoop 3
3737
|| t.getName().startsWith("Command processor") // hadoop 3
38-
|| t.getName().startsWith("ForkJoinPool-"); // hadoop 3
38+
|| t.getName().startsWith("ForkJoinPool-") // hadoop 3
39+
|| t.getName().startsWith("ForkJoinPool.commonPool-worker-"); // hadoop 3
3940
}
4041
}

0 commit comments

Comments
 (0)