Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 93989 invoked from network); 19 Nov 2010 04:04:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Nov 2010 04:04:49 -0000 Received: (qmail 4279 invoked by uid 500); 19 Nov 2010 04:05:19 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 4055 invoked by uid 500); 19 Nov 2010 04:05:19 -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 4046 invoked by uid 99); 19 Nov 2010 04:05:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Nov 2010 04:05:18 +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; Fri, 19 Nov 2010 04:05:15 +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 oAJ47KPX022492; Fri, 19 Nov 2010 04:07:20 GMT Content-Type: multipart/alternative; boundary="===============6364698596663022436==" MIME-Version: 1.0 Subject: Re: Review Request: Add listCorruptFileBlocks to FileSystem From: "Patrick Kling" To: "Patrick Kling" , "hadoop-common" Date: Fri, 19 Nov 2010 04:07:20 -0000 Message-ID: <20101119040720.6352.3948@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org X-ReviewRequest-URL: https://reviews.apache.org/r/49/ In-Reply-To: <20101118230555.6351.32879@reviews.apache.org> References: <20101118230555.6351.32879@reviews.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org --===============6364698596663022436== 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 20:07:20.147948) Review request for hadoop-common. Changes ------- Added listCorruptFileBlocks to FileContext. Changed FilterFileSystem to call underlying filesystem's listCorruptFileBlo= cks. 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/AbstractFileSystem.java 1036663 = 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/FileContext.java 1036663 = http://svn.apache.org/repos/asf/hadoop/common/trunk/src/java/org/apache/h= adoop/fs/FileSystem.java 1036663 = http://svn.apache.org/repos/asf/hadoop/common/trunk/src/java/org/apache/h= adoop/fs/FilterFileSystem.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 --===============6364698596663022436==--