[
https://issues.apache.org/jira/browse/HDFS-14830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chen Zhang resolved HDFS-14830.
-------------------------------
Resolution: Duplicate
> 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: [email protected]
For additional commands, e-mail: [email protected]