You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Umesh Agashe (JIRA)" <ji...@apache.org> on 2017/09/25 22:46:00 UTC

[jira] [Comment Edited] (HBASE-18183) Region interface cleanup for CP expose

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

Umesh Agashe edited comment on HBASE-18183 at 9/25/17 10:45 PM:
----------------------------------------------------------------

[~anoop.hbase], thanks for your reply. I am looking into HBASE-18703 which is regarding inconsistency between doMiniBathMutate() and processRowsWithLocks(). The only internal implementation of RowProcessor is MultiRowMutationProcessor. This is used by mutateRows() methods. I am modifying doMiniBatchMutate so that it can be called by mutateRows() methods (with and without locks as an explicit argument). This leaves processRowsWithLocks() and it's use of RowProcessor. Currently BaseRowProcessorEndpoint instantiates and calls processRowsWithLocks(). It may be sufficient, if we can modify processRowsWithLocks() to call doMiniBatchMutate() and CP hooks can be used. This is a heads up about what I am thinking regarding HBASE-18703. Perhaps when patch is ready we can discuss this further.


was (Author: uagashe):
[~anoop.hbase], thanks for your reply. I am looking into HBASE-18703 which is regarding inconsistency between doMiniBathMutate() and processRowsWithLocks(). The only internal implementation of RowProcessor is MultiRowMutationProcessor. This is used by mutateRows() methods. I am modifying doMiniBatchMutate so that it can be called by mutateRows() methods (with and without locks as an explicit argument). This leaves processRowsWithLocks() and it's use of RowProcessor. Currently BaseRowProcessorEndpoint instantiates and calls processRowsWithLocks(). It may be sufficient, if we can modify processRowsWithLocks() to call doMiniBatchMutate() and CP hooks can be used. This heads up on what I am thinking regarding HBASE-18703. Perhaps when patch is ready we can discuss this further.

> Region interface cleanup for CP expose
> --------------------------------------
>
>                 Key: HBASE-18183
>                 URL: https://issues.apache.org/jira/browse/HBASE-18183
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 2.0.0-alpha-4
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)