[
https://issues.apache.org/jira/browse/HADOOP-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HADOOP-3472:
--------------------------------
Attachment: hadoop_mapfile.patch
Patch for unit test and MapFile.java
> MapFile.Reader getClosest() function returns incorrect results when before is
> true
> ----------------------------------------------------------------------------------
>
> Key: HADOOP-3472
> URL: https://issues.apache.org/jira/browse/HADOOP-3472
> Project: Hadoop Core
> Issue Type: Bug
> Components: io
> Affects Versions: 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.17.0
> Reporter: Todd Lipcon
> Attachments: hadoop_mapfile.patch
>
>
> The MapFile.Reader getClosest() method returns incorrect results due to an
> error in seekInternal(). The test case in trunk sets the index interval of
> the test MapFile to 1 which obscures the issue. There are several other
> errors in the test case as well that assert incorrect behavior for
> getClosest().
> I've got this fixed and tested, and will attach a patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.