[ 
https://issues.apache.org/jira/browse/HDFS-12163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16093852#comment-16093852
 ] 

Tsz Wo Nicholas Sze commented on HDFS-12163:
--------------------------------------------

The thread leak is serious in the 5-datanode consecutive run.  There are 838 
threads remaining at the end.

> Ozone: MiniOzoneCluster uses 400+ threads
> -----------------------------------------
>
>                 Key: HDFS-12163
>                 URL: https://issues.apache.org/jira/browse/HDFS-12163
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ozone, test
>            Reporter: Tsz Wo Nicholas Sze
>         Attachments: TestOzoneThreadCount20170719.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to