Skip to content

Commit 20a3b7f

Browse files
Adjust ForkJoinPool prefix in HdfsClientThreadLeakFilter (#127534) (#127683)
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 #127676 Closes #127677 Closes #127678 Closes #127679 (cherry picked from commit 4408e38)
1 parent 700503a commit 20a3b7f

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

+2-1
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)