GitHub user kiszk opened a pull request:
https://github.com/apache/spark/pull/17509
[BACKPORT-2.1][SPARK-19999][core] Workaround JDK-8165231 to identify PPC64
architectures as supporting unaligned access
## What changes were proposed in this pull request?
This PR is backport of #17472 to Spark 2.1
java.nio.Bits.unaligned() does not return true for the ppc64le arch.
see
[https://bugs.openjdk.java.net/browse/JDK-8165231](https://bugs.openjdk.java.net/browse/JDK-8165231)
Check architecture in Platform.java
## How was this patch tested?
unit test
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kiszk/spark branch-2.1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17509.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 #17509
----
commit 5c9319727fe60e567e28870d2fa47a9cc6578199
Author: Kazuaki Ishizaki <[email protected]>
Date: 2017-04-02T07:07:19Z
backport #17472
----
---
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]