You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2021/03/15 21:29:00 UTC
[jira] [Resolved] (HBASE-25595)
TestLruBlockCache.testBackgroundEvictionThread is flaky
[ https://issues.apache.org/jira/browse/HBASE-25595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Stack resolved HBASE-25595.
-----------------------------------
Fix Version/s: 2.4.3
2.3.5
2.5.0
3.0.0-alpha-1
Hadoop Flags: Reviewed
Resolution: Fixed
Thank you for the nice fix [~Xiaolin Ha] . Merged to branch-2.3+
> 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
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.5.0, 2.3.5, 2.4.3
>
>
> 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)