Chen Zhang created HDFS-14830:
---------------------------------

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


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