hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17738) BucketCache startup is slow
Date Thu, 11 May 2017 09:41:04 GMT

     [ https://issues.apache.org/jira/browse/HBASE-17738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

ramkrishna.s.vasudevan updated HBASE-17738:
    Attachment: HBASE-17738_3.patch

Updated patch fixing the findbug comment and the review comment.
One problem here is that even if the size of bucket cache is bigger than the available RAM
no OOME is thrown and the server just starts. 
So may be better way could be to find the offheap memory configured and see if the current
bufferCount allocation would exceed the available offheap memory if so throw error, if not
proceed with the allocation. That is not done in this patch and just asking for suggestions.

> BucketCache startup is slow
> ---------------------------
>                 Key: HBASE-17738
>                 URL: https://issues.apache.org/jira/browse/HBASE-17738
>             Project: HBase
>          Issue Type: Sub-task
>          Components: BucketCache
>    Affects Versions: 2.0.0
>            Reporter: stack
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0
>         Attachments: HBASE-17738_2.patch, HBASE-17738_2.patch, HBASE-17738_3.patch, HBASE-17738.patch
> If you set bucketcache size at 64G say and then start hbase, it takes a long time. Can
we do the allocations in parallel and not inline with the server startup?
> Related, prefetching on a bucketcache is slow. Speed it up.

This message was sent by Atlassian JIRA

View raw message