hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-2021) CombineFileInputFormat returns duplicate hostnames in split locations
Date Wed, 01 Sep 2010 06:02:54 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904939#action_12904939

Amareshwari Sriramadasu commented on MAPREDUCE-2021:

Scott, Can you have a look at the latest patch? Would like to check this in if there are no
further comments. Thanks.

> 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.

View raw message