Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
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).
Attachments
Issue Links
- is related to
-
HDFS-12288 Fix DataNode's xceiver count calculation
- Resolved