You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2013/01/05 08:04:13 UTC

[jira] [Comment Edited] (HBASE-4210) Allow coprocessor to interact with batches per region sent from a client(?)

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

Lars Hofhansl edited comment on HBASE-4210 at 1/5/13 7:02 AM:
--------------------------------------------------------------

preHook before STEP 3 and postHook before STEP 8 makes sense.
As I mentioned in my comment August 24th: What would we pass to these hooks? Recreating an array of mutations just for the hooks is too expensive, but then we need to pass batchOp or maybe bathOp.operations along with the first and last index... Leaking a lot of HBase internal (which we'll likely want to change around at some point in the future) into the coprocessor code.
                
      was (Author: lhofhansl):
    preHook before STEP 3 and postHook before STEP 8 makes sense.
As I mentioned in my comment August 24th, though, is: What would pass to these hooks? Recreating an array of mutations just for the hooks is too expensive, but then we need to pass batchOp or maybe bathOp.operations along with the first and last index... Leaking a lot of HBase internal (which we'll likely want to change around at some point in the future) into the coprocessor code.
                  
> Allow coprocessor to interact with batches per region sent from a client(?)
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-4210
>                 URL: https://issues.apache.org/jira/browse/HBASE-4210
>             Project: HBase
>          Issue Type: New Feature
>    Affects Versions: 0.94.0
>            Reporter: Lars Hofhansl
>            Assignee: Anoop Sam John
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.5
>
>
> Currently the coprocessor write hooks - {pre|post}{Put|Delete} - are strictly one row|cell operations.
> It might be a good idea to allow a coprocessor to deal with batches of puts and deletes as they arrive from the client.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira