[
https://issues.apache.org/jira/browse/HADOOP-3471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Douglas updated HADOOP-3471:
----------------------------------
Component/s: test
mapred
> TestIndexedSort sometimes fails
> -------------------------------
>
> Key: HADOOP-3471
> URL: https://issues.apache.org/jira/browse/HADOOP-3471
> Project: Hadoop Core
> Issue Type: Bug
> Components: mapred, test
> Reporter: Chris Douglas
> Assignee: Chris Douglas
> Fix For: 0.18.0
>
> Attachments: 3471-0.patch
>
>
> After testing an array of equal values, TestIndexedSort::testAllEqual
> introduces a min and max value at random intervals:
> {noformat}
> int diff = r.nextInt(SAMPLE);
> values[diff] = 9;
> values[(diff + r.nextInt(SAMPLE >>> 1)) % SAMPLE] = 11;
> {noformat}
> The max value can overwrite the min value and produce a spurious failure.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.