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

TestStoreFileBlockCacheSummary#testBlockCacheSummary occasionally fails

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.96.0
    • None
    • None
    • 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

        1. 9239-v1.txt
          1 kB
          Ted Yu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: