Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1C9E19B20 for ; Wed, 16 Mar 2016 17:25:34 +0000 (UTC) Received: (qmail 1589 invoked by uid 500); 16 Mar 2016 17:25:33 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 1401 invoked by uid 500); 16 Mar 2016 17:25:33 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 1089 invoked by uid 99); 16 Mar 2016 17:25:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2016 17:25:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9D4562C1F58 for ; Wed, 16 Mar 2016 17:25:33 +0000 (UTC) Date: Wed, 16 Mar 2016 17:25:33 +0000 (UTC) From: "Greg Hogan (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-3623) Adjust MurmurHash algorithm MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Greg Hogan created FLINK-3623: --------------------------------- Summary: Adjust MurmurHash algorithm Key: FLINK-3623 URL: https://issues.apache.org/jira/browse/FLINK-3623 Project: Flink Issue Type: Improvement Components: Distributed Runtime Affects Versions: 1.1.0 Reporter: Greg Hogan Assignee: Greg Hogan Priority: Trivial Flink's MurmurHash implementation differs from the published algorithm. >From Flink's MathUtils.java: {code} code *=3D 0xe6546b64; {code} The Murmur3_32 algorithm as described by [Wikipedia|https://en.wikipedia.or= g/wiki/MurmurHash]: {code} m =E2=86=90 5 n =E2=86=90 0xe6546b64 hash =E2=86=90 hash =C3=97 m + n {code} and in Guava's Murmur3_32HashFunction.java: {code} h1 =3D h1 * 5 + 0xe6546b64; {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)