[
https://issues.apache.org/jira/browse/HBASE-16769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15551142#comment-15551142
]
Anoop Sam John commented on HBASE-16769:
----------------------------------------
Ya I am getting ur point.. If u see, the convertion of many other PB objects
to our objects is for CP hooks alone.. Just take case of puts. We convert
each Mutation from PB object to our POJO. Cells are in plain bytes form only
(CellScanner and Codec).. Later in code in HRegion and all, we just need the
Cells.. Details whatever we need extra from Mutation, we can very well get from
PB object.. But we convert all Mutation PB to our POJO as we have many hooks
in the write path. JFYI.. may be this is a point for long term consideration?
> 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
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)