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

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

> Also in the profiler, I see around 2025 threads being launched for this 
> single test. Thought you might be interested in that.

[~anu], I just have finished some testing and filed HDFS-12163.  It turns out 
that an 1-datanode MiniOzoneCluster uses 400+ threads for both Ratis and 
non-Ratis settings.  Also, there is a thread leak problem -- some threads used 
in earlier tests are leaked to later tests.  The thread leak explains why there 
are around 2025 threads showed in the profiler.

TestRatisManager uses 5 datanodes.  It only uses a similar number of threads as 
other 5-datanode cases showed in [this 
comment|https://issues.apache.org/jira/browse/HDFS-12163?focusedCommentId=16093848&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16093848]
- testTestRatisManagerNetty
| (NETTY,5) | init | 6 |
| (NETTY,5) | MiniOzoneCluster | 598 |
| (NETTY,5) | ready | 598 |
| (NETTY,5) | create RatisCluster | 690 |
| (NETTY,5) | close RatisCluster | 722 |
| (NETTY,5) | update RatisCluster | 807 |
| (NETTY,5) | shutdown | 438 |
| (NETTY,5) | sleep | 143 |
- testTestRatisManagerGrpc
| (GRPC,5) | init | 6 |
| (GRPC,5) | MiniOzoneCluster | 600 |
| (GRPC,5) | ready | 600 |
| (GRPC,5) | create RatisCluster | 621 |
| (GRPC,5) | close RatisCluster | 623 |
| (GRPC,5) | update RatisCluster | 633 |
| (GRPC,5) | shutdown | 257 |
| (GRPC,5) | sleep | 137 |




> Ozone: change TestRatisManager to check cluster with data
> ---------------------------------------------------------
>
>                 Key: HDFS-11948
>                 URL: https://issues.apache.org/jira/browse/HDFS-11948
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: HDFS-11948-HDFS-7240.20170614.patch
>
>
> TestRatisManager first creates multiple Ratis clusters.  Then it changes the 
> membership and closes some clusters.  However, it does not test the clusters 
> with data.



--
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