hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-803) Atomic increment operations
Date Sun, 08 Mar 2009 07:50:56 GMT

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

Jonathan Gray commented on HBASE-803:

Everything seems to be working.  I have not tested data-loss scenarios.  < 0.5ms/increment
in bulk, 3ms indvidually (client on master, gigabit ethernet to regionserver).

On our cluster:
Completed 1000 increments (0 to 10000 by 10) in 405ms (0.405 ms/increment)
Completed 1000 increments (0 to 20000 by 10) in 394ms (0.394 ms/increment)
Completed 1 increments (0 to 20010 by 10) in 3ms (3.0 ms/increment)
Completed 1 increments (0 to 20020 by 10) in 3ms (3.0 ms/increment)

> Atomic increment operations
> ---------------------------
>                 Key: HBASE-803
>                 URL: https://issues.apache.org/jira/browse/HBASE-803
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: client, ipc, regionserver
>    Affects Versions: 0.19.0
>            Reporter: Jonathan Gray
>            Assignee: ryan rawson
>            Priority: Minor
>             Fix For: 0.19.1, 0.20.0
>         Attachments: hbase-803-v1.patch, HBASE-803-v2.patch, HBASE-803-v3-0.19.patch,
HBASE-803-v3-0.20.patch, HBASE-803.patch
> Discussion was already started in HBASE-798
> First version will contain to additional HTable methods:
> incrementColumnValue(table,row,family:column) -> Inserts a new version of the specified
column (which must already exist) with an incremented cell value.
> incrementFamilyColumn(table,row,family: ) -> Inserts a new column under the specified
family.  This assumes the family always contains only one column.  That column is read, incremented,
deleted, and a new column is inserted with the incremented column name.  The existing value
is re-inserted unchanged to the new column.
> I'm going to be making even more specialized versions of these for internal use (taking
apart byte[]'s, doing different bit/byte operations, and assorted munging...).  So if anyone
has any requests for other specialized versions, or more generic versions, please post them
here and I'd be more than happy to take a stab at them.
> Next week I will likely have a go at HBASE-493

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message