GitHub user yimuxi opened a pull request:
https://github.com/apache/spark/pull/14700
[SPARK-17127]Make unaligned access in unsafe available for AArch64
## # What changes were proposed in this pull request?
From the spark of version 2.0.0 , when MemoryMode.OFF_HEAP is set , whether
the architecture supports unaligned access or not is checked. If the check
doesn't pass, exception is raised.
We know that AArch64 also supports unaligned access , but now only i386,
x86, amd64, and X86_64 are included.
I think we should include aarch64 when performing the check.
## How was this patch tested?
Unit test suite
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yimuxi/spark zym_change_unsafe
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14700.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 #14700
----
commit 24bcf057311a387460af2f2fcb110a434aa53d9a
Author: Richael <[email protected]>
Date: 2016-08-18T09:16:20Z
make unsafe support aarch64
----
---
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]