Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9239

TestStoreFileBlockCacheSummary#testBlockCacheSummary occasionally fails

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.96.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      From https://builds.apache.org/job/HBase-0.95/455/testReport/org.apache.hadoop.hbase.regionserver/TestStoreFileBlockCacheSummary/testBlockCacheSummary/ :

      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)
      

      This was due to an additional entry for namespace table:

      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]]
      

        Attachments

          Activity

            People

            • Assignee:
              yuzhihong@gmail.com Ted Yu
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: