GitHub user mrkm4ntr opened a pull request:
https://github.com/apache/spark/pull/20568
[SPARK-23381][CORE] Murmur3 hash generates a different value from other
implementations
## What changes were proposed in this pull request?
Murmur3 hash generates a different value from the original and other
implementations (like Scala standard library and Guava or so) when the length
of a bytes array is not multiple of 4.
## How was this patch tested?
Added a unit test.
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mrkm4ntr/spark spark-23381
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20568.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20568
----
commit 8856e39e44037516080cbe25b7c6bdf52c81dde8
Author: Shintaro Murakami <mrkm4ntr@...>
Date: 2018-02-10T14:29:48Z
[SPARK-23381][CORE] Fix Murmur3 for byte arrays whose byte length is not a
multiple of 4
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]