Refactor BlockReceiver
----------------------
Key: HDFS-1833
URL: https://issues.apache.org/jira/browse/HDFS-1833
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: Tsz Wo (Nicholas), SZE
Priority: Minor
There are repeated codes for creating log/error messages in BlockReceiver.
Also, some comment in the codes are incorrect, e.g.
{code}
private int numTargets; // number of downstream datanodes including myself
{code}
but the count indeed excludes the current datanode.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira