Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 13707 invoked from network); 5 May 2010 04:58:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 May 2010 04:58:25 -0000 Received: (qmail 23427 invoked by uid 500); 5 May 2010 04:58:25 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 23397 invoked by uid 500); 5 May 2010 04:58:24 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 23383 invoked by uid 99); 5 May 2010 04:58:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 04:58:24 +0000 X-ASF-Spam-Status: No, hits=-1389.2 required=10.0 tests=ALL_TRUSTED,AWL 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, 05 May 2010 04:58:23 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o454w3IW021249 for ; Wed, 5 May 2010 04:58:03 GMT Message-ID: <6246573.11671273035483029.JavaMail.jira@thor> Date: Wed, 5 May 2010 00:58:03 -0400 (EDT) From: "dhruba borthakur (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1752) Implement getFileBlockLocations in HarFilesystem In-Reply-To: <7523622.9851273024923177.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/MAPREDUCE-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864148#action_12864148 ] dhruba borthakur commented on MAPREDUCE-1752: --------------------------------------------- Sounds like a good idea. +1 The idea is to make the contents of a Har file work well with FileInputFormat or CombineFileInputFormat, isn't it? In that case, you can see TestCombineFileInputFormat and see if u can extend it to test the case when the input file(s) are har files. > Implement getFileBlockLocations in HarFilesystem > ------------------------------------------------ > > Key: MAPREDUCE-1752 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1752 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Reporter: Dmytro Molkov > > To efficiently run map reduce on the data that has been HAR'ed it will be great to actually implement getFileBlockLocations for a given filename. > This way the JobTracker will have information about data locality and will schedule tasks appropriately. > I believe the overhead introduced by doing lookups in the index files can be smaller than that of copying data over the wire. > Will upload the patch shortly, but would love to get some feedback on this. And any ideas on how to test it are very welcome. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.