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

Anoop Sam John commented on HBASE-4210:
---------------------------------------

bq.Todd introduced initialized variable so that we don't call preXXX hooks more 
than once
Yes Ted I am aware of this change that had happened. But all the pre hooks for 
each of the Mutation will be called at 1st step itself. After that the actual 
mutate operation might be happening in N batches.
We would like to have a pre/post hooks for each of the mini batch mutation.(One 
call for each mini operation)
May be it would be better to have one pre/post hook for the entire batch 
operation also? -> As per our use case we wanted a such a hook also.
                
> 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
>            Reporter: Lars Hofhansl
>            Assignee: Anoop Sam John
>            Priority: Minor
>
> 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

Reply via email to