You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2010/03/30 20:36:27 UTC

[jira] Created: (MAPREDUCE-1649) Compressed files with TextInputFormat does not work with CombineFileInputFormat

Compressed files with TextInputFormat does not work with CombineFileInputFormat
-------------------------------------------------------------------------------

                 Key: MAPREDUCE-1649
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1649
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 0.20.2
            Reporter: Zheng Shao
            Assignee: Zheng Shao


{{CombineFileInputFormat}} creates splits based on blocks, regardless whether the underlying {{FileInputFormat}} is splittable or not..

This means that we can have 2 or more splits for a compressed text file with {{TextInputFormat}}. For each of these splits, {{TextInputFormat.getRecordReader}} will return a {{RecordReader}} for the whole compressed file, thus causing duplicate input data.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MAPREDUCE-1649) Compressed files with TextInputFormat does not work with CombineFileInputFormat

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu resolved MAPREDUCE-1649.
------------------------------------------------

    Resolution: Invalid

Resolving this as MAPREDUCE-1597 fixes compressed files in CombineFileInputFormat.

> Compressed files with TextInputFormat does not work with CombineFileInputFormat
> -------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.2
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: MAPREDUCE-1649.1.branch-0.20.patch
>
>
> {{CombineFileInputFormat}} creates splits based on blocks, regardless whether the underlying {{FileInputFormat}} is splittable or not..
> This means that we can have 2 or more splits for a compressed text file with {{TextInputFormat}}. For each of these splits, {{TextInputFormat.getRecordReader}} will return a {{RecordReader}} for the whole compressed file, thus causing duplicate input data.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.