[ 
https://issues.apache.org/jira/browse/SPARK-19999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15936349#comment-15936349
 ] 

Sean Owen commented on SPARK-19999:
-----------------------------------

Although this is going to be a very niche problem, and eventually fixed in the 
JDK, I imagine it's also pretty easy to patch around -- is there a drawback to 
special-casing this arch in the Spark code or will it have another consequence?

> Test failures in Spark Core due to java.nio.Bits.unaligned()
> ------------------------------------------------------------
>
>                 Key: SPARK-19999
>                 URL: https://issues.apache.org/jira/browse/SPARK-19999
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.1.0, 2.2.0
>         Environment: Ubuntu 14.04 ppc64le 
> $ java -version
> openjdk version "1.8.0_111"
> OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
> OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
>            Reporter: Sonia Garudi
>              Labels: ppc64le
>
> There are multiple test failures seen in Spark Core project with the 
> following error message :
> {code:borderStyle=solid}
> java.lang.IllegalArgumentException: requirement failed: No support for 
> unaligned Unsafe. Set spark.memory.offHeap.enabled to false.
> {code}
> These errors occur due to java.nio.Bits.unaligned(), which does not return 
> true for the ppc64le arch.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to