You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jesse Yates (JIRA)" <ji...@apache.org> on 2013/11/13 21:57:22 UTC

[jira] [Updated] (HBASE-9834) Minimize byte[] copies for 'smart' clients

     [ https://issues.apache.org/jira/browse/HBASE-9834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Yates updated HBASE-9834:
-------------------------------

    Attachment: hbase-9834-0.94-v3.patch

Attaching patch for 0.94 (trunk coming soon). Moves the family map writing into Mutation as an accessible method so we don't do this code copying everywhere (it was 3x - Put, Delete, Append). 

Also, adding an accessor method in Append to make this usable - it gets #add(KeyValue) in addition to its existing #add(byte[], byte[], byte[]), similar to how Delete works. 

> Minimize byte[] copies for 'smart' clients
> ------------------------------------------
>
>                 Key: HBASE-9834
>                 URL: https://issues.apache.org/jira/browse/HBASE-9834
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>            Reporter: Jesse Yates
>            Assignee: Jesse Yates
>             Fix For: 0.94.14
>
>         Attachments: hbase-9834-0.94-v0.patch, hbase-9834-0.94-v1.patch, hbase-9834-0.94-v2.patch, hbase-9834-0.94-v3.patch
>
>
> 'Smart' clients (e.g. phoenix) that have in-depth knowledge of HBase often bemoan the extra byte[] copies that must be done when building multiple puts/deletes. We should provide a mechanism by which they can minimize these copies, but still remain wire compatible. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)