Details
Description
Checked the number of active threads used in MiniOzoneCluster with various settings:
- Local handlers
- Distributed handlers
- Ratis-Netty
- Ratis-gRPC
The results are similar for all the settings. It uses 400+ threads for an 1-datanode MiniOzoneCluster.
Moreover, there is a thread leak – a number of the threads do not shutdown after the test is finished. Therefore, when tests run consecutively, the later tests use more threads.
Will post the details in comments.