hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2485) Improve code layout and constants in UnderReplicatedBlocks
Date Sat, 22 Oct 2011 16:15:32 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Steve Loughran updated HDFS-2485:

    Attachment: HDFS-2485-improve-underreplicated.patch

updated with header for test file and better class javadoc on the UnderReplicatedBlocks class
to explain what the queues do and why
> Improve code layout and constants in UnderReplicatedBlocks
> ----------------------------------------------------------
>                 Key: HDFS-2485
>                 URL: https://issues.apache.org/jira/browse/HDFS-2485
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Trivial
>         Attachments: HDFS-2485-improve-underreplicated.patch, HDFS-2485-improve-underreplicated.patch
>   Original Estimate: 0.5h
>          Time Spent: 1h
>  Remaining Estimate: 0h
> Before starting HDFS-2472 I want to clean up the code in UnderReplicatedBlocks slightly
> # use constants for all the string levels
> # change the {{getUnderReplicatedBlockCount()}} method so that it works even if the corrupted
block list is not the last queue
> # improve the javadocs
> # add some more curly braces and spaces to follow the style guidelines better
> This is a trivial change as behaviour will not change at all. If committed it will go
into trunk and 0.23 so that patches between the two versions are easy to apply

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message