[
https://issues.apache.org/jira/browse/HBASE-17869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15959964#comment-15959964
]
Jerry He commented on HBASE-17869:
----------------------------------
Pushed to master and branch-1. (Fixed Ted's nit.)
Tested on ppc64le:
Without the patch:
{code}
Failed tests:
TestFuzzyRowAndColumnRangeFilter.Test:134->runTest:157->runScanner:186
expected:<10> but was:<0>
TestFuzzyRowFilter.testSatisfiesForward:81 expected:<YES> but was:<NO_NEXT>
TestFuzzyRowFilter.testSatisfiesReverse:121 expected:<YES> but
was:<NEXT_EXISTS>
TestFuzzyRowFilterEndToEnd.testEndToEnd:247->runTest1:278->runScanner:343
expected:<6250> but was:<0>
TestFuzzyRowFilterEndToEnd.testFilterList:385->runTest:417->runScanner:445
expected:<5> but was:<0>
TestFuzzyRowFilterEndToEnd.testHBASE14782:204 expected:<6> but was:<0>
{code}
With the patch, the full 'mvn clean test' is clean on master :-)
Thanks for the review.
> 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)