You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2017/02/20 10:53:44 UTC

[jira] [Resolved] (HBASE-17670) LruBlockCache with VictimHandler should evict from bucket cache also when eviction by filename happens

     [ https://issues.apache.org/jira/browse/HBASE-17670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ramkrishna.s.vasudevan resolved HBASE-17670.
--------------------------------------------
    Resolution: Not A Problem

Sorry just saw that the code already does it.

> LruBlockCache with VictimHandler should evict from bucket cache also when eviction by filename happens
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-17670
>                 URL: https://issues.apache.org/jira/browse/HBASE-17670
>             Project: HBase
>          Issue Type: Bug
>          Components: BlockCache, BucketCache
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> When VictimHandler is used we use the bucket cache to cache those blocks that are evicted. So in case of where we close the hfile and call evictBlocksByHfileName - I think it still makes sense to call evict on the vicitmHandler also. Else the victimHandler is going to just occupy the space till the eviction thread in that vicitm handler clears it. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)