[
https://issues.apache.org/jira/browse/HBASE-11423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anoop Sam John updated HBASE-11423:
-----------------------------------
Attachment: HBASE-11423_v3.patch
This is what I committed to trunk. Slight change from V2
MultiRowMutationProcessor#postProcess()
{code}
+ // At the end call the CP hook postBatchMutateIndispensably
+ if (miniBatch != null) {
+ // Directly calling this hook, with out calling pre/postBatchMutate()
when Processor do a
+ // read only process. Then no need to call this batch based CP hook
also.
+ coprocessorHost.postBatchMutateIndispensably(miniBatch, success);
+ }
{code}
And if check is added so as to handle the case of calling the postProcess()
directly after process() step ie. When the process is read only.
> Visibility label and per cell ACL feature not working with HTable#mutateRow()
> and MultiRowMutationEndpoint
> ----------------------------------------------------------------------------------------------------------
>
> Key: HBASE-11423
> URL: https://issues.apache.org/jira/browse/HBASE-11423
> Project: HBase
> Issue Type: Bug
> Components: Coprocessors, security
> Affects Versions: 0.98.0
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Priority: Blocker
> Fix For: 0.99.0, 0.98.4, 2.0.0
>
> Attachments: HBASE-11423.patch, HBASE-11423_0.98.patch,
> HBASE-11423_v2.patch, HBASE-11423_v2.patch, HBASE-11423_v3.patch
>
>
> This is because pre/postBatchMutate() APIs are not getting called from
> HRegion#processRowsWithLocks()
--
This message was sent by Atlassian JIRA
(v6.2#6252)