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

[flakey test] TestVerifyBucketCacheFile

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1
    • 3.0.0-alpha-1, 2.3.0
    • regionserver, test
    • None
    • Reviewed

    Description

      I see sporadic failures in this test class. Sometimes a failure on assertTrue(file.delete()), an inconsistent annoyance. However, this one looks more sinister.

      2020-03-12 12:11:35,059 ERROR [Time-limited test] bucket.BucketCache(312): Can't restore from file[/Users/ndimiduk/repos/apache/hbase/hbase-server/target/test-data/5e5c5f5f-d5c2-94b2-8ce9-cf561f4f19f7/bucket.persistence] because of 
      java.io.IOException: Mismatch of checksum! The persistent checksum is ���&amp#20;B&amp#16;k�&amp#3;��2�Ӏk, but the calculate checksum is �o���r��w��c��4
      	at org.apache.hadoop.hbase.io.hfile.bucket.PersistentIOEngine.verifyFileIntegrity(PersistentIOEngine.java:55)
      	at org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.parsePB(BucketCache.java:1158)
      	at org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(BucketCache.java:1106)
      	at org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.<init>(BucketCache.java:310)
      	at org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.<init>(BucketCache.java:258)
      	at org.apache.hadoop.hbase.io.hfile.bucket.TestVerifyBucketCacheFile.testRetrieveFromFile(TestVerifyBucketCacheFile.java:116)
      

      Attachments

        Issue Links

          Activity

            People

              ndimiduk Nick Dimiduk
              ndimiduk Nick Dimiduk
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: