hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3471) TestIndexedSort sometimes fails
Date Tue, 03 Jun 2008 13:26:47 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601932#action_12601932
] 

Hudson commented on HADOOP-3471:
--------------------------------

Integrated in Hadoop-trunk #511 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/511/])

> 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, 3471-1.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.


Mime
View raw message