hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14624) BucketCache.freeBlock is too expensive
Date Fri, 23 Oct 2015 18:40:28 GMT

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

Andrew Purtell commented on HBASE-14624:
----------------------------------------

bq. Seems we can not avoid an extra object creation (Iterator) with every call !

Noticed this also. Use an alternative to Set where you can pull elements from the head or
tail without allocating a throwaway iterator just to effectively do the same. Maybe one of
the implementations of Deque? 

> 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