HBase
  1. HBase
  2. HBASE-9239

TestStoreFileBlockCacheSummary#testBlockCacheSummary occasionally fails

    Details

    • Type: Test Test
    • Status: Resolved
    • Priority: Major 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]]
      

        Activity

        Ted Yu created issue -
        Ted Yu made changes -
        Field Original Value New Value
        Attachment 9239-v1.txt [ 12598339 ]
        Ted Yu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 0.98.0 [ 12323143 ]
        Ted Yu made changes -
        Fix Version/s 0.96.0 [ 12324822 ]
        Ted Yu made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Ted Yu made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Ted Yu
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development