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 Fri, 23 Oct 2015 07:06:27 GMT

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

chunhui shen commented on HBASE-14624:
--------------------------------------

{code}
- b = freeBuckets.get(freeBuckets.size() - 1);
+ b = freeBuckets.iterator().next();
{code}
In the context,  the first entry and the last entry  are both ok.


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

Mime
View raw message