[ 
https://issues.apache.org/jira/browse/HDFS-14830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chen Zhang reassigned HDFS-14830:
---------------------------------

    Assignee: Chen Zhang

> The calculation of DataXceiver count is not accurate
> ----------------------------------------------------
>
>                 Key: HDFS-14830
>                 URL: https://issues.apache.org/jira/browse/HDFS-14830
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Chen Zhang
>            Assignee: Chen Zhang
>            Priority: Major
>
> DataNode use threadGroup.activeCount() as the number of DataXceiver, it's not 
> accurate since threadGroup includes not only DataXceiver thread and 
> DataXceiverServer thread, PacketResponder thread and BlockRecoveryWorker 
> thread is also in the same threadGroup.
> In the worst case, the reported DataXceiver count maybe double of actual 
> count(e.g. all DataXceiver process write block operation, they create same 
> number of PacketResponder thread at the same time).



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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