Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 33168 invoked from network); 16 Feb 2009 17:03:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Feb 2009 17:03:32 -0000 Received: (qmail 4451 invoked by uid 500); 16 Feb 2009 17:03:05 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 4323 invoked by uid 500); 16 Feb 2009 17:03:05 -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 4226 invoked by uid 99); 16 Feb 2009 17:03:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 09:03:05 -0800 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; Mon, 16 Feb 2009 17:03:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B6650234C4C2 for ; Mon, 16 Feb 2009 09:02:27 -0800 (PST) Message-ID: <1541099278.1234803747746.JavaMail.jira@brutus> Date: Mon, 16 Feb 2009 09:02:27 -0800 (PST) From: "Hudson (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5079) HashFunction inadvertently destroys some randomness In-Reply-To: <424684834.1232401739871.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-5079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673951#action_12673951 ] Hudson commented on HADOOP-5079: -------------------------------- Integrated in Hadoop-trunk #756 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/756/]) > HashFunction inadvertently destroys some randomness > ---------------------------------------------------- > > Key: HADOOP-5079 > URL: https://issues.apache.org/jira/browse/HADOOP-5079 > Project: Hadoop Core > Issue Type: Bug > Components: util > Reporter: Jonathan Ellis > Assignee: Jonathan Ellis > Fix For: 0.20.0 > > Attachments: hadoop-core-hash-2.patch, hadoop-core-hash.patch > > > HashFunction.hash restricts initval for the next hash to the [0, maxValue) range of the hash indexes returned. This is suboptimal, particularly for larger nbHash and smaller maxValue. Rather we should first set initval, then restrict the range for the result assignment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.