From mapreduce-issues-return-17984-apmail-hadoop-mapreduce-issues-archive=hadoop.apache.org@hadoop.apache.org Tue Nov 23 23:00:15 2010 Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 23906 invoked from network); 23 Nov 2010 23:00:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Nov 2010 23:00:14 -0000 Received: (qmail 70567 invoked by uid 500); 23 Nov 2010 23:00:46 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 70546 invoked by uid 500); 23 Nov 2010 23:00:46 -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 70538 invoked by uid 99); 23 Nov 2010 23:00:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 23:00:46 +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; Tue, 23 Nov 2010 23:00:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oANN0Mh8014653 for ; Tue, 23 Nov 2010 23:00:22 GMT Message-ID: <21768087.274211290553222112.JavaMail.jira@thor> Date: Tue, 23 Nov 2010 18:00:22 -0500 (EST) From: "Dmytro Molkov (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1752) Implement getFileBlockLocations in HarFilesystem 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/MAPREDUCE-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935104#action_12935104 ] Dmytro Molkov commented on MAPREDUCE-1752: ------------------------------------------ The patch looks good to me +1. I guess the main question is does anyone have any objections to the approach in general? > Implement getFileBlockLocations in HarFilesystem > ------------------------------------------------ > > Key: MAPREDUCE-1752 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1752 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: harchive > Reporter: Dmytro Molkov > Assignee: Dmytro Molkov > Fix For: 0.22.0 > > Attachments: MAPREDUCE-1752.2.patch, MAPREDUCE-1752.3.patch, MR-1752.patch > > > 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.