GitHub user tedyu opened a pull request:

    https://github.com/apache/spark/pull/10725

    SPARK-12778 Use of Java Unsafe should take endianness into account

    In Platform.java, methods of Java Unsafe are called directly without 
considering endianness.
    
    In thread, 'Tungsten in a mixed endian environment', Adam Roberts reported 
data corruption when "spark.sql.tungsten.enabled" is enabled in mixed endian 
environment.
    
    Platform.java should take endianness into account.
    
    Here is link to the thread:
    http://search-hadoop.com/m/q3RTtT49Gb28IS4c1

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tedyu/spark master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/10725.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 #10725
    
----
commit 33eb63a3664842bfc3d834662a72019ac9513151
Author: tedyu <[email protected]>
Date:   2016-01-12T18:00:09Z

    SPARK-12778 Use of Java Unsafe should take endianness into account

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to