Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 69731 invoked from network); 17 May 2007 21:51:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 May 2007 21:51:37 -0000 Received: (qmail 26881 invoked by uid 500); 17 May 2007 21:51:43 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 26846 invoked by uid 500); 17 May 2007 21:51:42 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 26837 invoked by uid 99); 17 May 2007 21:51:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2007 14:51:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2007 14:51:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2C6B5714065 for ; Thu, 17 May 2007 14:51:16 -0700 (PDT) Message-ID: <24196777.1179438676162.JavaMail.jira@brutus> Date: Thu, 17 May 2007 14:51:16 -0700 (PDT) From: "Owen O'Malley (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (HADOOP-1385) MD5Hash has a bad hash function MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org MD5Hash has a bad hash function ------------------------------- Key: HADOOP-1385 URL: https://issues.apache.org/jira/browse/HADOOP-1385 Project: Hadoop Issue Type: Bug Components: io Affects Versions: 0.12.3 Reporter: Owen O'Malley Assigned To: Owen O'Malley Fix For: 0.13.0 The MD5Hash class has a really bad hash function, that will cause most most md5s to hash to 0xFFFFFFxx leaving only the low order byte as meaningful. The problem comes from the automatic sign extension when promoting from byte to int. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.