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

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

That time the hook was added as general purpose thing.. But ya may be not 
really needed..  Ya for AC there is no need to see the cells which are 
replicated.  AC wants to know the user and his permission levels only.  
I can add a private annotation at the method (and post also) and add some 
comments that this should not be used at all.  Or may be we can even deprecate 
that also.  No need to add private annotate.  Can say this is in place just to 
support our AC and this might get removed at any time after 2.0. May be we will 
end up in min 3.0 release for such a removal (Depends on AC rework).. So better 
we can say deprecated from 2.0 with out any replacement. Wont mention will 
remove in 3.0 as we are not sure :-)   Deprecated with out any replacement 
itself will warn users from using this

> 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)

Reply via email to