You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/02/15 02:39:19 UTC

[jira] [Commented] (HBASE-10547) TestFixedLengthWrapper#testReadWrite occasionally fails with the IBM JDK

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

Andrew Purtell commented on HBASE-10547:
----------------------------------------

Kind of a WTF at first glance. I did try substituting the assertArrayEquals call with assertTrue(Bytes.equals(..)) with no difference, I wasn't expecting one. Any ideas [~ndimiduk]?

> TestFixedLengthWrapper#testReadWrite occasionally fails with the IBM JDK
> ------------------------------------------------------------------------
>
>                 Key: HBASE-10547
>                 URL: https://issues.apache.org/jira/browse/HBASE-10547
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.0
>         Environment: IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 Compressed References 20131114_175264 (JIT enabled, AOT enabled)
>            Reporter: Andrew Purtell
>            Priority: Minor
>
> Here's the trace.
> {noformat}
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 29.288 sec <<< FAILURE!
> testReadWrite(org.apache.hadoop.hbase.types.TestFixedLengthWrapper)  Time elapsed: 0.025 sec  <<< FAILURE!
> arrays first differed at element [8]; expected:<-40> but was:<0>
>         at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
>         at org.junit.Assert.internalArrayEquals(Assert.java:473)
>         at org.junit.Assert.assertArrayEquals(Assert.java:294)
>         at org.junit.Assert.assertArrayEquals(Assert.java:305)
>         at org.apache.hadoop.hbase.types.TestFixedLengthWrapper.testReadWrite(TestFixedLengthWrapper.java:60)
> {noformat}
> This is with 0.98.0.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)