Ted Yu created HBASE-9239:
-----------------------------
Summary: TestStoreFileBlockCacheSummary#testBlockCacheSummary
occasionally fails
Key: HBASE-9239
URL: https://issues.apache.org/jira/browse/HBASE-9239
Project: HBase
Issue Type: Test
Reporter: Ted Yu
Assignee: Ted Yu
>From
>https://builds.apache.org/job/HBase-0.95/455/testReport/org.apache.hadoop.hbase.regionserver/TestStoreFileBlockCacheSummary/testBlockCacheSummary/
> :
{code}
java.lang.AssertionError: blockCache summary has entries expected:<2> but
was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at
org.apache.hadoop.hbase.regionserver.TestStoreFileBlockCacheSummary.testBlockCacheSummary(TestStoreFileBlockCacheSummary.java:112)
{code}
This was due to an additional entry for namespace table:
{code}
2013-08-16 00:24:25,337 INFO [pool-1-thread-1]
regionserver.TestStoreFileBlockCacheSummary(110): blockCacheSummary:
[BlockCacheSummaryEntry [table=namespace, columnFamily=info, blocks=1,
heapSize=512], BlockCacheSummaryEntry [table=testTable,
columnFamily=testFamily, blocks=1, heapSize=664], BlockCacheSummaryEntry
[table=testTable2, columnFamily=testFamily, blocks=1, heapSize=664]]
{code}
--
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