Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6372

MurmurHash does not yield the same results as the reference C++ implementation when size % 4 >= 2

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 0.20.1
    • Fix Version/s: None
    • Component/s: util
    • Labels:
      None

      Description

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

        Attachments

        1. murmur.patch
          4 kB
          Andrzej Bialecki
        2. HADOOP-6372.patch
          3 kB
          olivier gillet

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                pichenettes olivier gillet
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified