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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.20.1
    • 0.20.3, 0.90.0
    • util
    • None
    • 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

              pichenettes olivier gillet
              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