Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 3004 invoked from network); 2 Sep 2010 07:34:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Sep 2010 07:34:37 -0000 Received: (qmail 36198 invoked by uid 500); 2 Sep 2010 07:34:37 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 36102 invoked by uid 500); 2 Sep 2010 07:34:34 -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 36094 invoked by uid 99); 2 Sep 2010 07:34:33 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 07:34:33 +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; Thu, 02 Sep 2010 07:34:16 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o827Xsmu009167 for ; Thu, 2 Sep 2010 07:33:54 GMT Message-ID: <4430585.135601283412834261.JavaMail.jira@thor> Date: Thu, 2 Sep 2010 03:33:54 -0400 (EDT) From: "Amareshwari Sriramadasu (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-2021) CombineFileInputFormat returns duplicate hostnames in split locations In-Reply-To: <5699660.461841282278136640.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/MAPREDUCE-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amareshwari Sriramadasu updated MAPREDUCE-2021: ----------------------------------------------- Status: Resolved (was: Patch Available) Hadoop Flags: [Reviewed] Resolution: Fixed Patch has been tested on our cluster. Assuming there are no more comments from Scott, I just committed this. > CombineFileInputFormat returns duplicate hostnames in split locations > ---------------------------------------------------------------------- > > Key: MAPREDUCE-2021 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2021 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: client > Affects Versions: 0.20.2 > Reporter: Amareshwari Sriramadasu > Assignee: Amareshwari Sriramadasu > Fix For: 0.22.0 > > Attachments: patch-2021-1.txt, patch-2021-ydist.txt, patch-2021.txt > > > CombineFileInputFormat.getSplits creates splits with duplicate locations. It adds locations of the files in the split to an ArrayList; if all the files are on same location, the location is added again and again. Instead, it should add it to a Set instead of List to avoid duplicates. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.