hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-17670) LruBlockCache with VictimHandler should evict from bucket cache also when eviction by filename happens
Date Mon, 20 Feb 2017 10:53:44 GMT

     [ 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)

Mime
View raw message