hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chunhui shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14624) BucketCache.freeBlock is too expensive
Date Thu, 22 Oct 2015 05:49:27 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968599#comment-14968599

chunhui shen commented on HBASE-14624:

What 's the size of region ?
You could set EVICT_BLOCKS_ON_CLOSE to false, thus freeBlocks won't be called when moving

About code improvement´╝Ü
final class BucketSizeInfo {
    private List<Bucket> bucketList, freeBuckets, completelyFreeBuckets;

The above Lists shoule be changed as HashSet  to improve performance, since contains and removes
operation is expensive for List

> BucketCache.freeBlock is too expensive
> --------------------------------------
>                 Key: HBASE-14624
>                 URL: https://issues.apache.org/jira/browse/HBASE-14624
>             Project: HBase
>          Issue Type: Improvement
>          Components: BlockCache
>    Affects Versions: 1.0.0
>            Reporter: Randy Fox
> Moving regions is unacceptably slow when using bucket cache, as it takes too long to
free all the blocks.

This message was sent by Atlassian JIRA

View raw message