hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-8128) HTable#put improvements
Date Mon, 28 Oct 2013 21:12:32 GMT

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

Jimmy Xiang edited comment on HBASE-8128 at 10/28/13 9:11 PM:
--------------------------------------------------------------

bq. Committed in trunk and 0.95, thanks for the reviews!
[~nkeywal], I don't see this patch in 0.96/trunk.  Did I miss anything?


was (Author: jxiang):
bq. Committed in trunk and 0.95, thanks for the reviews!
[~nkeywal], I don't this patch in 0.96/trunk.  Did I miss anything?

> HTable#put improvements
> -----------------------
>
>                 Key: HBASE-8128
>                 URL: https://issues.apache.org/jira/browse/HBASE-8128
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.95.0, 0.95.2
>            Reporter: Nicolas Liochon
>            Assignee: Nicolas Liochon
>            Priority: Trivial
>             Fix For: 0.94.7, 0.95.0, 0.95.2
>
>         Attachments: 8128.v1.patch
>
>
> 3 points:
>  - When doing a single put, we're creating an object by calling Arrays.asList
>  - we're doing a size check every 10 put. Not doing it seems simpler, better and allows
to share some code between a single put and a list of puts.
>  - we could call flushCommits on empty write buffer, especially for someone using a lot
of HTable instead of using a pool, as it's called in close().



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

Mime
View raw message