[ https://issues.apache.org/jira/browse/HDFS-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132864#comment-13132864 ]
Hadoop QA commented on HDFS-2485: --------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12500201/HDFS-2485-improve-underreplicated.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 2 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests: org.apache.hadoop.hdfs.server.namenode.TestBackupNode org.apache.hadoop.hdfs.TestFileAppend2 org.apache.hadoop.hdfs.TestBalancerBandwidth org.apache.hadoop.hdfs.TestRestartDFS org.apache.hadoop.hdfs.TestDistributedFileSystem org.apache.hadoop.hdfs.server.datanode.TestDeleteBlockPool +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1405//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1405//console This message is automatically generated. > 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 > > 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