hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-1838) More refactoring of BlockReceiver
Date Thu, 14 Apr 2011 22:14:05 GMT
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

View raw message