You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2014/09/01 08:58:20 UTC

[jira] [Commented] (HBASE-11871) Avoid usage of KeyValueUtil#ensureKeyValue

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

ramkrishna.s.vasudevan commented on HBASE-11871:
------------------------------------------------

HBASE-7320 and its subtasks is aimed at this.  Few are left out in doing this and some where in the write path.  HBASE-11870 can be linked to HBASE-7320 or may be move this under that. We have few places still left in doing that.  In certain filters we are not able to do where the exposed APIs are already KVs. Though they are deprecated for back ward compatability we need to expose them as KVs and there we will do KVUtil.ensureKeyValue().

> Avoid usage of KeyValueUtil#ensureKeyValue
> ------------------------------------------
>
>                 Key: HBASE-11871
>                 URL: https://issues.apache.org/jira/browse/HBASE-11871
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>
> Now we try to use diff impls of Cells (other than KV) in server side for optimizations. (HBASE-11870  is one like this) Having code  KeyValueUtil#ensureKeyValue can be dangerous as it recreate the Cell and do buffer copy. This is an umbrella issue.  Will raise small sub tasks in specific areas and tackle this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)