Description
There are repeated codes for creating log/error messages in BlockReceiver. Also, some comment in the codes are incorrect, e.g.
private int numTargets; // number of downstream datanodes including myself
but the count indeed excludes the current datanode.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-1789 Refactor frequently used codes from DFSOutputStream, BlockReceiver and DataXceiver
- Closed