[
https://issues.apache.org/jira/browse/HBASE-7119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506187#comment-13506187
]
Li Ping Zhang commented on HBASE-7119:
--------------------------------------
Hi Stack, thanks for your information. I learnt some form current trunk code,
since CONCURRENT_HASHMAP and ARRAYLIST are different from some IBM JDK and Sun
JDK, I generated a new patch HBASE-7119-0.94-v1.patch for branch 0.94, which is
using estimateBase() instead of having a conditional of different JDK. Hope
this can help to resolve it.
> org.apache.hadoop.hbase.io.TestHeapSize failed with testNativeSizes unit test
> -----------------------------------------------------------------------------
>
> Key: HBASE-7119
> URL: https://issues.apache.org/jira/browse/HBASE-7119
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 0.90.4, 0.90.5, 0.92.0, 0.94.0
> Environment: RHEL 5.3, open JDK 1.6
> Reporter: Li Ping Zhang
> Assignee: Li Ping Zhang
> Labels: patch
> Attachments: HBASE-7119-0.94.patch, HBASE-7119-trunk.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Running org.apache.hadoop.hbase.io.TestHeapSize
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.068
> sec <<< FAILURE!
> testNativeSizes(org.apache.hadoop.hbase.io.TestHeapSize) Time elapsed: 0.01
> sec <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<64> but was:<56>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:283)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:130)
> at junit.framework.Assert.assertEquals(Assert.java:136)
> at
> org.apache.hadoop.hbase.io.TestHeapSize.testNativeSizes(TestHeapSize.java:75)
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira