Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 85171 invoked from network); 3 Jun 2008 13:27:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jun 2008 13:27:46 -0000 Received: (qmail 26701 invoked by uid 500); 3 Jun 2008 13:27:32 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 26657 invoked by uid 500); 3 Jun 2008 13:27:32 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 26625 invoked by uid 99); 3 Jun 2008 13:27:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2008 06:27:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2008 13:26:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BCBE2234C14C for ; Tue, 3 Jun 2008 06:26:47 -0700 (PDT) Message-ID: <581742969.1212499607771.JavaMail.jira@brutus> Date: Tue, 3 Jun 2008 06:26:47 -0700 (PDT) From: "Hudson (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3471) TestIndexedSort sometimes fails In-Reply-To: <2079444580.1212181005256.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.