You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/09/15 13:59:00 UTC

[jira] [Assigned] (SPARK-32892) Murmur3 and xxHash64 implementations do not produce the correct results on big-endian platforms

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

Apache Spark reassigned SPARK-32892:
------------------------------------

    Assignee: Apache Spark

> Murmur3 and xxHash64 implementations do not produce the correct results on big-endian platforms
> -----------------------------------------------------------------------------------------------
>
>                 Key: SPARK-32892
>                 URL: https://issues.apache.org/jira/browse/SPARK-32892
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core, SQL
>    Affects Versions: 3.0.1
>            Reporter: Michael Munday
>            Assignee: Apache Spark
>            Priority: Minor
>              Labels: big-endian
>
> The Murmur3 and xxHash64 implementations in Spark do not produce the correct results on big-endian systems. This causes test failures on my target platform (s390x).
> These hash functions require that multi-byte chunks be interpreted as integers encoded in *little-endian* byte order. This requires byte reversal when using multi-byte unsafe operations on big-endian platforms.
> I have a PR ready for discussion and review.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org