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

Lars Hofhansl commented on HBASE-7162:
--------------------------------------

That is to say that now we can go through and replace code like this:
{code}
Bytes.compareTo(this.row, 0, row.length, kv.getBuffer(),
  kv.getRowOffset(), kv.getRowLength());
{code}
with this:
{code}
Bytes.compareTo(this.row, 0, row.length, kv.getRowArray(),
  kv.getRowOffset(), kv.getRowLength());
{code}

(Same for family and qualifier buffers)

Eventually we'll (hopefully) have very few cases where the entire buffer is 
actually needed, those need to be tackled one by one then.
I can do a first pass through the code and do that.
                
> Prefix Compression - Trie data block encoding; hbase-common and hbase-server 
> changes
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-7162
>                 URL: https://issues.apache.org/jira/browse/HBASE-7162
>             Project: HBase
>          Issue Type: New Feature
>    Affects Versions: 0.96.0
>            Reporter: stack
>            Assignee: Matt Corgan
>             Fix For: 0.96.0
>
>         Attachments: HBASE-4676-common-and-server-v8.patch, 
> HBASE-4676-common-and-server-v9.patch, HBASE-7162-common-and-server-v10.patch
>
>
> These are the hbase-common and hbase-server changes for hbase-4676 Prefix 
> Compression - Trie data block encoding.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to