hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10944) Remove all kv.getBuffer() and kv.getRow() references existing in the code
Date Wed, 05 Apr 2017 13:11:41 GMT

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

Anoop Sam John commented on HBASE-10944:
----------------------------------------

kv.getRow()  is no longer there.
kv.getBuffer ()  -> IMHO we should not even deprecate it. This is not a method in Cell..
KV is a cell impl which is backed by a single byte[] for key and value. getBuffer () exposes
that buffer.  This is heavily used by tests. May be we should not expose it public but for
test ability exposing getBuffer() may be ok.

> Remove all kv.getBuffer() and kv.getRow() references existing in the code
> -------------------------------------------------------------------------
>
>                 Key: HBASE-10944
>                 URL: https://issues.apache.org/jira/browse/HBASE-10944
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0, 1.4.0
>
>
> kv.getRow() and kv.getBuffers() are still used in places to form key byte[] and row byte[].
 Removing all such instances including testcases will make the usage of Cell complete.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message