[
https://issues.apache.org/jira/browse/HBASE-17869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15954659#comment-15954659
]
Anoop Sam John commented on HBASE-17869:
----------------------------------------
It looks ok as ppc64 and ppc64le supports unaligned.
But my doubt is this? Why we have a problem with it? Things should work with
out using Unsafe ways. We may miss some possible optimization but no
issues/failures any where. That means some thing is wrong in FuzzyRowFilter
and/or its tests? We should address that also?
> UnsafeAvailChecker wrongly returns false on ppc
> -----------------------------------------------
>
> Key: HBASE-17869
> URL: https://issues.apache.org/jira/browse/HBASE-17869
> Project: HBase
> Issue Type: Bug
> Affects Versions: 1.2.4
> Reporter: Jerry He
> Assignee: Jerry He
> Priority: Minor
> Fix For: 2.0.0, 1.4.0
>
> Attachments: HBASE-17869.patch
>
>
> On ppc64 arch, java.nio.Bits.unaligned() wrongly returns false due to a JDK
> bug.
> https://bugs.openjdk.java.net/browse/JDK-8165231
> This causes some problem for HBase. i.e. FuzzyRowFilter test fails.
> Fix it by providing a hard-code workaround for the JDK bug.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)