hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiang Li (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-14881) Provide a Put API that uses the provided row without coping
Date Fri, 29 Jul 2016 09:49:20 GMT

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

Xiang Li edited comment on HBASE-14881 at 7/29/16 9:48 AM:
-----------------------------------------------------------

Patch 002 for master branch is uploaded, with the following changes
(1) Add checkRow()
(2) Rename the parameter as "rowIsImmutable"
(3) Some comments refined.

[~anoop.hbase], could you please review at your earliest convenience?


was (Author: water):
patch 002 for master branch is uploaded, with the following changes
(1) Add checkRow()
(2) Rename the parameter as "rowIsImmutable"
(3) Some comments refined.

[~anoop.hbase], could you please review at your earliest convenience?

> Provide a Put API that uses the provided row without coping
> -----------------------------------------------------------
>
>                 Key: HBASE-14881
>                 URL: https://issues.apache.org/jira/browse/HBASE-14881
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 1.2.0
>            Reporter: Jerry He
>            Assignee: Xiang Li
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14881-master-v0.patch, HBASE-14881.master.001.patch, HBASE-14881.master.002.patch
>
>
> The current available Put API always makes a copy of the rowkey.
> Let's provide an API that accepts an immutable byte array as rowkey without making a
copy.
> There are cases where the caller of Put has created the immutable byte array (e.g from
a serializer) and will not change it for the Put duration. We can avoid making a copy again.



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

Mime
View raw message