Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 64738 invoked from network); 18 Nov 2010 23:03:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Nov 2010 23:03:21 -0000 Received: (qmail 73032 invoked by uid 500); 18 Nov 2010 23:03:49 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 72954 invoked by uid 500); 18 Nov 2010 23:03:49 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 72946 invoked by uid 99); 18 Nov 2010 23:03:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 23:03:49 +0000 X-ASF-Spam-Status: No, hits=-1997.8 required=10.0 tests=ALL_TRUSTED,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.40] (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 23:03:48 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id oAIN5t86021919; Thu, 18 Nov 2010 23:05:56 GMT Content-Type: multipart/alternative; boundary="===============1727482779690795143==" MIME-Version: 1.0 Subject: Re: Review Request: Add listCorruptFileBlocks to FileSystem From: "Patrick Kling" To: "Patrick Kling" , "hadoop-common" Date: Thu, 18 Nov 2010 23:05:55 -0000 Message-ID: <20101118230555.6351.32879@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org X-ReviewRequest-URL: https://reviews.apache.org/r/49/ In-Reply-To: <20101108212154.14456.30226@reviews.apache.org> References: <20101108212154.14456.30226@reviews.apache.org> --===============1727482779690795143== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49/ ----------------------------------------------------------- (Updated 2010-11-18 15:05:55.695348) Review request for hadoop-common. Changes ------- Added default implementation of listCorruptFileBlocks to FileSystem, which = throws UnsupportedOperationException. ant test-patch output is unchanged. ant test-patch: [exec] -1 overall. = [exec] = [exec] +1 @author. The patch does not contain any @author tags. [exec] = [exec] -1 tests included. The patch doesn't appear to include any= new or modified tests. [exec] Please justify why no new tests are nee= ded for this patch. [exec] Also please list what manual steps were= performed to verify this patch. [exec] = [exec] +1 javadoc. The javadoc tool did not generate any warning = messages. [exec] = [exec] +1 javac. The applied patch does not increase the total nu= mber of javac compiler warnings. [exec] = [exec] -1 findbugs. The patch appears to introduce 2 new Findbugs= warnings. [exec] = [exec] +1 release audit. The applied patch does not increase the = total number of release audit warnings. [exec] = [exec] +1 system test framework. The patch passed system test fra= mework compile. As before, findbugs warnings are caused by MAPREDUCE-2172. Summary ------- Add listCorruptFileBlocks to FileSystem API. Throw UnsupportedOperationExce= ption for FileSystems that don't support this. This addresses bug HADOOP-7023. https://issues.apache.org/jira/browse/HADOOP-7023 Diffs (updated) ----- http://svn.apache.org/repos/asf/hadoop/common/trunk/src/java/org/apache/h= adoop/fs/CorruptFileBlocks.java PRE-CREATION = http://svn.apache.org/repos/asf/hadoop/common/trunk/src/java/org/apache/h= adoop/fs/FileSystem.java 1036663 = Diff: https://reviews.apache.org/r/49/diff Testing ------- ant test passes ant test-patch output: [exec] -1 overall. [exec] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] -1 tests included. The patch doesn't appear to include any= new or modified tests. [exec] Please justify why no new tests are nee= ded for this patch. [exec] Also please list what manual steps were= performed to verify this patch. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning = messages. [exec] [exec] +1 javac. The applied patch does not increase the total nu= mber of javac compiler warnings. [exec] [exec] -1 findbugs. The patch appears to introduce 2 new Findbugs= warnings. [exec] [exec] +1 release audit. The applied patch does not increase the = total number of release audit warnings. [exec] [exec] +1 system test framework. The patch passed system test fra= mework compile. Note: unit tests for this are included with HDFS-1482. This patch does not actually introduce any new findbugs warnings (see MAPRE= DUCE-2172 for why they show up here). Thanks, Patrick --===============1727482779690795143==--