[ https://issues.apache.org/jira/browse/MAPREDUCE-5862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
bc Wong updated MAPREDUCE-5862: ------------------------------- Description: 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). was: 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). We don't want to end up creating a phantom record of (200-240). > 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 > Attachments: 0001-Handle-records-larger-than-2x-split-size.patch > > > 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)