More refactoring of BlockReceiver --------------------------------- Key: HDFS-1838 URL: https://issues.apache.org/jira/browse/HDFS-1838 Project: Hadoop HDFS Issue Type: Bug Components: data-node Affects Versions: 0.23.0 Reporter: Daryn Sharp Assignee: Daryn Sharp
While reviewing HDFS-1833 (refactor BlockReceiver), I teased apart the giant run() method into multiple methods to better understand the code. After doing so, the logic begins to appear dubious with possible faulty edge cases. At a minimum, having the method broken down makes the code far more readable to the layman. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira