Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 85374 invoked from network); 28 Jul 2010 20:36:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Jul 2010 20:36:43 -0000 Received: (qmail 11688 invoked by uid 500); 28 Jul 2010 20:36:43 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 11650 invoked by uid 500); 28 Jul 2010 20:36:42 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 11642 invoked by uid 99); 28 Jul 2010 20:36:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jul 2010 20:36:42 +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; Wed, 28 Jul 2010 20:36:40 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6SKaIvq021367 for ; Wed, 28 Jul 2010 20:36:18 GMT Message-ID: <19271149.53661280349378947.JavaMail.jira@thor> Date: Wed, 28 Jul 2010 16:36:18 -0400 (EDT) From: "Hairong Kuang (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6870) Add FileSystem#listLocatedStatus to list a directory's content together with each file's block locations In-Reply-To: <13042840.506371279749289722.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-6870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893356#action_12893356 ] Hairong Kuang commented on HADOOP-6870: --------------------------------------- FileStatus uses a very loose equality semantics. It compares only path names. So I decided that LocatedFileStatus uses the same semantics. > Add FileSystem#listLocatedStatus to list a directory's content together with each file's block locations > -------------------------------------------------------------------------------------------------------- > > Key: HADOOP-6870 > URL: https://issues.apache.org/jira/browse/HADOOP-6870 > Project: Hadoop Common > Issue Type: New Feature > Components: fs > Affects Versions: 0.22.0 > Reporter: Hairong Kuang > Assignee: Hairong Kuang > Fix For: 0.22.0 > > Attachments: listFiles.patch, listFiles1.patch, listFiles2.patch, listFiles3.patch, listFiles4.patch > > > This jira implements the new FileSystem API as proposed in HDFS-202. The new API aims to eliminate individual "getFileBlockLocations" calls to NN for each file in the input directory of a job. Instead, a file's block locations are returned together with FileStatus when listing a directory, thus improving getSplits performance. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.