Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0EB087A83 for ; Sat, 22 Oct 2011 17:39:53 +0000 (UTC) Received: (qmail 5604 invoked by uid 500); 22 Oct 2011 17:39:52 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 5555 invoked by uid 500); 22 Oct 2011 17:39:52 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 5547 invoked by uid 99); 22 Oct 2011 17:39:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Oct 2011 17:39:52 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Oct 2011 17:39:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0AAC4316C10 for ; Sat, 22 Oct 2011 17:37:32 +0000 (UTC) Date: Sat, 22 Oct 2011 17:37:32 +0000 (UTC) From: "Hadoop QA (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <861355256.5453.1319305052045.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <973073316.999.1319205632408.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2485) Improve code layout and constants in UnderReplicatedBlocks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133444#comment-13133444 ] Hadoop QA commented on HDFS-2485: --------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12500325/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/1415//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1415//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, 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