Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 5481 invoked from network); 22 Nov 2010 18:49:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Nov 2010 18:49:04 -0000 Received: (qmail 43143 invoked by uid 500); 22 Nov 2010 18:49:36 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 43111 invoked by uid 500); 22 Nov 2010 18:49:36 -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 43102 invoked by uid 99); 22 Nov 2010 18:49:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 18:49:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 18:49:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAMInFOY017942 for ; Mon, 22 Nov 2010 18:49:15 GMT Message-ID: <7668647.238461290451755628.JavaMail.jira@thor> Date: Mon, 22 Nov 2010 13:49:15 -0500 (EST) From: "Patrick Kling (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-1482) Add listCorruptFileBlocks to DistributedFileSystem (and ClientProtocol) In-Reply-To: <10095785.110761288229960764.JavaMail.jira@thor> 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-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934548#action_12934548 ] Patrick Kling commented on HDFS-1482: ------------------------------------- Unfortunately, there is no efficient way of getting the last element of a Collection. So updating lastCookie while doing the iteration is our best bet I think. > Add listCorruptFileBlocks to DistributedFileSystem (and ClientProtocol) > ----------------------------------------------------------------------- > > Key: HDFS-1482 > URL: https://issues.apache.org/jira/browse/HDFS-1482 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Patrick Kling > Assignee: Patrick Kling > Attachments: HDFS-1482.2.patch, HDFS-1482.3.patch, HDFS-1482.5.patch, HDFS-1482.patch > > > As discussed in HDFS-1111, it would be beneficial for tools such as the RAID block fixer and RAID FSCK to have access to listCorruptFileBlocks via the DistributedFileSystem (rather than having to parse Servlet output, which could present a performance problem). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.