[ https://issues.apache.org/jira/browse/HBASE-16769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16174224#comment-16174224 ]
Anoop Sam John commented on HBASE-16769: ---------------------------------------- For getting the edits/cells which are getting replicated, there are ways.. Even the CP hooks around pre/post put/delete/batchMutate will get called.. The use of this particular CP hook (preReplicateLogEntries) is in AccessController. ACL was missing for the replicate APIs and that jira added this new hook. For that , there is no need for these edits any way.. Still as a general way, we passed them. Now just to call the CP we should not be making POJOs from PB objects. So we will need these hooks until our ACL works with CP impl way. There is no other go. > Deprecate/remove PB references from MasterObserver and RegionServerObserver > --------------------------------------------------------------------------- > > Key: HBASE-16769 > URL: https://issues.apache.org/jira/browse/HBASE-16769 > Project: HBase > Issue Type: Bug > Reporter: Anoop Sam John > Assignee: Anoop Sam John > Priority: Blocker > Fix For: 2.0.0-alpha-4 > > Attachments: HBASE-16769.patch, HBASE-16769_V2.patch > > > This is effectively a sub-task for HBASE-15174. > CP Methods > MasterObserver > preListSnapshot > postListSnapshot > preSnapshot > postSnapshot > preCloneSnapshot > postCloneSnapshot > preRestoreSnapshot > postRestoreSnapshot > preDeleteSnapshot > postDeleteSnapshot > > preSetUserQuota > postSetUserQuota > preSetUserQuota > postSetUserQuota > preSetUserQuota > postSetUserQuota > preSetTableQuota > postSetTableQuota > preSetNamespaceQuota > postSetNamespaceQuota > > RegionServerObserver > preReplicateLogEntries > postReplicateLogEntries > Note : This issue not handling Quota related CPs. Same is handled by a > subtask here HBase-18807 -- This message was sent by Atlassian JIRA (v6.4.14#64029)