hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6372) MurmurHash does not yield the same results as the reference C++ implementation when size % 4 >= 2
Date Fri, 13 Nov 2009 16:15:39 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrzej Bialecki  updated HADOOP-6372:
--------------------------------------

    Attachment: murmur.patch

This patch includes the fix from Olivier, and updates the hash to Murmur 2.0A that provides
better handling of empty keys.

> MurmurHash does not yield the same results as the reference C++ implementation when size
% 4 >= 2
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6372
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6372
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.20.1
>            Reporter: olivier gillet
>            Priority: Trivial
>         Attachments: HADOOP-6372.patch, murmur.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Last rounds of MurmurHash are done in reverse order. data[length - 3], data[length -
2] and data[length - 1] in the block processing the remaining bytes should be data[len_m +2],
data[len_m + 1], data[len_m].

-- 
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