[
https://issues.apache.org/jira/browse/HBASE-12048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14144341#comment-14144341
]
Anoop Sam John commented on HBASE-12048:
----------------------------------------
In the read path when we read from a DataBlockEncoded file, we wont be
creating a KV object and pass to top layers of read. Instead we have a new Cell
impl ( ClonedSeekerState is class name) in which the key is a contiguous byte[]
we created using the decoding algo but value is referring the old fetched
byte[] block from DFS. So there is no key and value being together like in KV.
This avoid the need to copy the value part also when we don't need it. This
was an optimization Ram did some time back and went in 0.99+
So yes it is possible that we may meet a non KV cell in the read path. Am I
making it clear now boss?
> Remove deprecated APIs from Filter
> ----------------------------------
>
> Key: HBASE-12048
> URL: https://issues.apache.org/jira/browse/HBASE-12048
> Project: HBase
> Issue Type: Sub-task
> Components: regionserver
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Fix For: 2.0.0, 0.99.1
>
> Attachments: HBASE-12048.patch, HBASE-12048_V2.patch
>
>
> To be removed
> KeyValue transform(final KeyValue currentKV)
> KeyValue getNextKeyHint(final KeyValue currentKV)
> These are deprecated since 0.96 and can get removed from 1.0 time.
> Any objections?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)