[
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 region.
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
(v6.3.4#6332)