You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2011/04/15 00:14:05 UTC

[jira] [Created] (HDFS-1838) More refactoring of BlockReceiver

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