Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1979

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.20.1
    • Fix Version/s: 0.20.3, 0.90.0
    • Component/s: util
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      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. HBASE-1979.patch
          0.6 kB
          olivier gillet

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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