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

Anoop Sam John commented on HBASE-14624:
----------------------------------------

LinkedList changed to HashSet
{code}
- b = freeBuckets.get(freeBuckets.size() - 1);
+ b = freeBuckets.iterator().next();
{code}
Is this order correct.. We were getting the last added entry and here it wont 
be that?  How you handle the order?

> BucketCache.freeBlock is too expensive
> --------------------------------------
>
>                 Key: HBASE-14624
>                 URL: https://issues.apache.org/jira/browse/HBASE-14624
>             Project: HBase
>          Issue Type: Bug
>          Components: BlockCache
>    Affects Versions: 1.0.0
>            Reporter: Randy Fox
>             Fix For: 2.0.0, 1.2.0, 1.3.0, 1.0.3, 1.1.3, 0.98.16
>
>         Attachments: 14624-v1.txt, 14624-v2.txt
>
>
> 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)

Reply via email to