hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Liochon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10024) Add an interface to create put with immutable arrays
Date Mon, 25 Nov 2013 19:00:40 GMT

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

Nicolas Liochon commented on HBASE-10024:

bq. Rather than add new API though, should this just be the default behavior instead?
Well it's a behavior change, so keeping the default is safer I think.
This is just for the family. We could do it for the row as well, going further in hijacking
protobuf, and using the hidden byte array of LiteralByteString...

> Add an interface to create put with immutable arrays
> ----------------------------------------------------
>                 Key: HBASE-10024
>                 URL: https://issues.apache.org/jira/browse/HBASE-10024
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>    Affects Versions: 0.98.0, 0.96.0
>            Reporter: Nicolas Liochon
>            Assignee: Nicolas Liochon
>             Fix For: 0.98.0, 0.96.1
>         Attachments: 10024.96.v1.patch, 10024.trunk.v1.patch
> The 'Put' does a copy of the data. This simplifies the client, as there is no risk to
modify something used someone else. But it means we do a lot of array copy, including within
HBase code when we create the 'Put' server side....

This message was sent by Atlassian JIRA

View raw message