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

Guanghao Zhang commented on HBASE-19007:
----------------------------------------

Sorry to join this discussion late. IMO, use Server to expose to CP is not 
better than use CPRSS/CPMS. It is still easily misused in the future... We need 
find a better way for this.
bq. I'd suggest that anything and everything that needs to be exposed to CP 
should be a method in some env. Even if we want to expose a full set of 
functions, which are already in an internal interface, let's not expose the 
interface. Instead, let's make wrapper functions in the CpEnv.
[~appy]'s suggestion sounds good. What you guys think?

> Align Services Interfaces in Master and RegionServer
> ----------------------------------------------------
>
>                 Key: HBASE-19007
>                 URL: https://issues.apache.org/jira/browse/HBASE-19007
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Priority: Blocker
>         Attachments: HBASE-19007.master.001.patch
>
>
> HBASE-18183 adds a CoprocessorRegionServerService to give a view on 
> RegionServiceServices that is safe to expose to Coprocessors.
> On the Master-side, MasterServices becomes an Interface for exposing to 
> Coprocessors.
> We need to align the two.
> For background, see 
> https://issues.apache.org/jira/browse/HBASE-12260?focusedCommentId=16203820&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16203820
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to