You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/04/24 20:55:07 UTC

[jira] [Commented] (HDFS-12163) Ozone: Reduce MiniOzoneCluster handler thread count

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

Hudson commented on HDFS-12163:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-12163. Ozone: Reduce MiniOzoneCluster handler thread count. (xyao: rev 5fd34ba1958b61ffd411cd5575878003645ec44d)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/MiniOzoneCluster.java


> Ozone: Reduce MiniOzoneCluster handler thread count
> ---------------------------------------------------
>
>                 Key: HDFS-12163
>                 URL: https://issues.apache.org/jira/browse/HDFS-12163
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone, test
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Weiwei Yang
>            Priority: Major
>             Fix For: HDFS-7240
>
>         Attachments: HDFS-12163-HDFS-7240.001.patch, HDFS-12163-HDFS-7240.002.patch, TestOzoneThreadCount20170719.patch, most_used_threads.png, thread_dump.png
>
>
> 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
(v7.6.3#76005)

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