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] [Commented] (HBASE-12295) Prevent block eviction under us if reads are in progress from the BBs
Date Wed, 15 Jul 2015 05:42:05 GMT

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

ramkrishna.s.vasudevan commented on HBASE-12295:

bq.Let me come back to this again. Is it up in RB?
Ya. The patch is in RB.
bq.T deserialize(ByteBuffer b, boolean reuse, Type memType) throws IOException;
This CacheableDeserializer is the one creating the Cacheable.  So we cannot pass a Cacheable
there I think.
bq.Should Type be MemoryType enum?
We can make it MemoryType.
bq.Out of interest, server-side, how many Interfaces and abstract classes might a Cell implementation
be implementing now?
bq.Nit: SharedMemoryBackedCell should be SharedMemoryCell ?
Keyvalue, NoTagsKeyValue, SharedMemoryCell, the different fake keys, Prefix Tree cells, the
DBE cells.  The last two will have two variants one with byte[] backed and other with BB backed.

> Prevent block eviction under us if reads are in progress from the BBs
> ---------------------------------------------------------------------
>                 Key: HBASE-12295
>                 URL: https://issues.apache.org/jira/browse/HBASE-12295
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver, Scanners
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0
>         Attachments: HBASE-12295.pdf, HBASE-12295_1.patch, HBASE-12295_1.pdf, HBASE-12295_10.patch,
HBASE-12295_12.patch, HBASE-12295_2.patch, HBASE-12295_4.patch, HBASE-12295_4.pdf, HBASE-12295_5.pdf,
HBASE-12295_9.patch, HBASE-12295_trunk.patch
> While we try to serve the reads from the BBs directly from the block cache, we need to
ensure that the blocks does not get evicted under us while reading.  This JIRA is to discuss
and implement a strategy for the same.

This message was sent by Atlassian JIRA

View raw message