hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Appy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18954) Make *CoprocessorHost classes private
Date Fri, 06 Oct 2017 00:05:02 GMT

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

Appy commented on HBASE-18954:
------------------------------

So in MasterCoprocessorEnvironment, we give out MasterServices which is marked Private (being
tackled in HBASE-12260). And MasterServices gives out {{MasterCoprocessorHost getMasterCoprocessorHost()}}.
So basically, CP implementations were able to get hold of hosts. Not good!
However, that jira is removing master CP getter. :)

Figuring out what needs to be moved out of *CpHost into separate LimitedPrivate zone so that
we an make these hosts private.



> Make *CoprocessorHost classes private
> -------------------------------------
>
>                 Key: HBASE-18954
>                 URL: https://issues.apache.org/jira/browse/HBASE-18954
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: Appy
>             Fix For: 2.0.0-alpha-4
>
>
> Move out configuration name constants (into Coprocessor class?) and made Host classes
private.



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

Mime
View raw message