hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5515) Add a processRow API that supports atomic multiple reads and writes on a row
Date Mon, 05 Mar 2012 20:36:03 GMT

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

Phabricator commented on HBASE-5515:
------------------------------------

lhofhansl has commented on the revision "HBASE-5515 [jira] Add a processRow API that supports
atomic multiple reads and writes on a row".

  Here's another thought. This is actually slight different from HBASE-5229.

  HBASE-5229 provides one API for coprocessors to use, while this issue provides the code
from the out side (the RowProcessor).

  I think it would be nice if there was an API on the RegionServer do execute something with
lock/mvcc.
  Not sure about the actual API, but the coprocessor endpoint could *be* the RowProcessor,
which would have the advantage that they could loaded dynamically and per table if needed.

  Maybe just public lockAndStartMvcc(row) and unlockAndCommitMvcc methods on RegionServer.
  Or executeAsTransaction(RowProcessor), or something.

REVISION DETAIL
  https://reviews.facebook.net/D2067

                
> Add a processRow API that supports atomic multiple reads and writes on a row
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-5515
>                 URL: https://issues.apache.org/jira/browse/HBASE-5515
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>         Attachments: HBASE-5515.D2067.1.patch, HBASE-5515.D2067.2.patch, HBASE-5515.D2067.3.patch,
HBASE-5515.D2067.4.patch, HBASE-5515.D2067.5.patch, HBASE-5515.D2067.6.patch, HBASE-5515.D2067.7.patch,
HBASE-5515.D2067.8.patch
>
>
> We have modified HRegion.java internally to do some atomic row processing. It will be
nice to have a plugable API for this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message