Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27743 Enhancements for the persistent cache
  3. HBASE-27852

Interrupt BucketCachePersister thread when BucketCache is shutdown

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0, 3.0.0-alpha-3
    • 2.6.0, 3.0.0-alpha-4
    • BucketCache
    • None

    Description

      Recent changes with BucketCachePersister caused this unit test  TestVerifyBucketCacheFile.testRetrieveFromFile() to become flaky.

      The BucketCachePersister thread keeps running even after BucketCache.shutdown() is run and we do not clear the contents of the backingMap during the shutdown if cache persistence is enabled causing this test to fail. BucketCachePersister should be interrupted in BucketCache.shutdown().

      Attachments

        Issue Links

          Activity

            People

              skota@cloudera.com Shanmukha Haripriya Kota
              skota@cloudera.com Shanmukha Haripriya Kota
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: