You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Steve Loughran (Created) (JIRA)" <ji...@apache.org> on 2011/10/21 16:00:32 UTC
[jira] [Created] (HDFS-2485) Improve code layout and constants in
UnderReplicatedBlocks
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
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