Skip to content

[BACKPORT-2.1][SPARK-19999][core] Workaround JDK-8165231 to identify PPC64 architectures as supporting unaligned access - #17509

Closed
kiszk wants to merge 1 commit into
apache:branch-2.1from
kiszk:branch-2.1
Closed

[BACKPORT-2.1][SPARK-19999][core] Workaround JDK-8165231 to identify PPC64 architectures as supporting unaligned access#17509
kiszk wants to merge 1 commit into
apache:branch-2.1from
kiszk:branch-2.1

Conversation

@kiszk

@kiszkkiszk commented Apr 2, 2017

Copy link
Copy Markdown
Member

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
Check architecture in Platform.java

How was this patch tested?

unit test

@SparkQA

Copy link
Copy Markdown

Test build #75457 has finished for PR 17509 at commit 5c93197.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen

Copy link
Copy Markdown
Member

Merged to 2.1

asfgit pushed a commit that referenced this pull request Apr 2, 2017
…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
Author: Kazuaki Ishizaki <ishizaki@jp.ibm.com>
Closes#17509 from kiszk/branch-2.1.
@maropu

Copy link
Copy Markdown
Member

@kiszk Cloud you close this?

@kiszk

Copy link
Copy Markdown
MemberAuthor

Sure, thanks

@kiszkkiszk closed this Apr 21, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@kiszk@SparkQA@srowen@maropu