You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Xiaolin Ha (Jira)" <ji...@apache.org> on 2021/02/22 12:30:00 UTC

[jira] [Created] (HBASE-25595) TestLruBlockCache.testBackgroundEvictionThread is flaky

Xiaolin Ha created HBASE-25595:
----------------------------------

             Summary: TestLruBlockCache.testBackgroundEvictionThread is flaky
                 Key: HBASE-25595
                 URL: https://issues.apache.org/jira/browse/HBASE-25595
             Project: HBase
          Issue Type: Bug
            Reporter: Xiaolin Ha
            Assignee: Xiaolin Ha


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(). 

.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)