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

stack commented on HBASE-19235:
-------------------------------

Options:

 # The [~appy] interpretation of IA.Private on superclass means superclass 
methods are not for CPs (I think this too much attention-to-detail to expect of 
users...)
 # Hiding the problematic as per Anoop's suggestion that we restore the old 
hackery?
 # Just mark CP as LP and if a CP calls shutdown, they are shooting themselves 
in the foot (Annotate IA.Private?)

I like option #2.


> CoprocessorEnvironment should be exposed to CPs
> -----------------------------------------------
>
>                 Key: HBASE-19235
>                 URL: https://issues.apache.org/jira/browse/HBASE-19235
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>    Affects Versions: 2.0.0-alpha-4
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>            Priority: Minor
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-19235.patch
>
>
> Its sub interfaces are exposed with 
> LimitedPrivate(HBaseInterfaceAudience.COPROC).  So ideally all the functions 
> in this are.  Better we mark CoprocessorEnvironment also as CP exposed to 
> avoid confusion.



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

Reply via email to