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

TestLruBlockCache.testBackgroundEvictionThread is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.7, 2.5.0, 2.3.5, 2.4.3
    • None
    • None
    • Reviewed

    Description

      As the test result in https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2700/2/testReport/org.apache.hadoop.hbase.io.hfile/TestLruBlockCache/precommit_checks___yetus_jdk11_hadoop3_checks___testBackgroundEvictionThread/

      It fails because background EvictionThread used the weak reference of LRUBlockCache, when the cache object is cleared by garbage collector, NO block eviction will be triggered by LruBlockCache#runEviction(). 

      .

      Attachments

        Issue Links

          Activity

            People

              Xiaolin Ha Xiaolin Ha
              Xiaolin Ha Xiaolin Ha
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: