You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "bc Wong (JIRA)" <ji...@apache.org> on 2014/05/01 06:55:22 UTC

[jira] [Updated] (MAPREDUCE-5862) Line records longer than 2x split size aren't handled correctly

     [ https://issues.apache.org/jira/browse/MAPREDUCE-5862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

bc Wong updated MAPREDUCE-5862:
-------------------------------

    Attachment: 0001-MAPREDUCE-5862.-Line-records-longer-than-2x-split-si.patch

Thanks! Updated patch. Added an exception to the rat config.

> Line records longer than 2x split size aren't handled correctly
> ---------------------------------------------------------------
>
>                 Key: MAPREDUCE-5862
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5862
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>            Reporter: bc Wong
>            Assignee: bc Wong
>            Priority: Critical
>         Attachments: 0001-Handle-records-larger-than-2x-split-size.1.patch, 0001-Handle-records-larger-than-2x-split-size.patch, 0001-Handle-records-larger-than-2x-split-size.patch, 0001-MAPREDUCE-5862.-Line-records-longer-than-2x-split-si.patch, recordSpanningMultipleSplits.txt.bz2
>
>
> Suppose this split (100-200) is in the middle of a record (90-240):
> {noformat}
>    0              100            200             300
>    |---- split ----|---- curr ----|---- split ----|
>                  <------- record ------->
>                  90                     240
> {noformat}
>       
> Currently, the first split would read the entire record, up to offset 240, which is good. But the 2nd split has a bug in producing a phantom record of (200, 240).



--
This message was sent by Atlassian JIRA
(v6.2#6252)