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

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

This javadoc is from preScannerOpen?  Yes for the prexxx() hook if we don't 
want to have our own impl to be used, we can return null. On null the core will 
continue to instantiate its own impl. In postxxx it is passing the one it 
created and the hook can wrap it or even create a brand new instance also. (the 
former is mostly). If no change to the instance needed (but the CPwanted to do 
some other op on post hook) then just return whatever is coming in. That seems 
the right choice IMO.

> Add CP hooks for ReplicationEndPoint
> ------------------------------------
>
>                 Key: HBASE-11920
>                 URL: https://issues.apache.org/jira/browse/HBASE-11920
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors, Replication
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0, 0.99.1
>
>         Attachments: HBASE-11920.patch, HBASE-11920_1.patch, 
> HBASE-11920_2.patch, HBASE-11920_3.patch, HBASE-11920_4.patch
>
>
> If we want to create internal replication endpoints other than the one 
> created thro configuration we may need new hooks. This is something like an 
> internal scanner that we create during compaction so that the actual 
> compaction scanner can be used as a delegator.
> [~enis]
> If I can give a patch by tomorrow will it be possible to include in the RC?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to