hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18037) Do not expose implementation classes to CP
Date Tue, 16 May 2017 01:15:04 GMT

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

Andrew Purtell commented on HBASE-18037:
----------------------------------------

bq. you are free to hold a reference to a class which is declared as IA.Private, but you can
only use it as a monolithic object. You can use it as a parameter to call a method, or use
it as a return value, but you should never try to call its methods to change its state of
do something else.

Sounds good [~Apache9]. I see you filed HBASE-18050 for followup 

> Do not expose implementation classes to CP
> ------------------------------------------
>
>                 Key: HBASE-18037
>                 URL: https://issues.apache.org/jira/browse/HBASE-18037
>             Project: HBase
>          Issue Type: Umbrella
>          Components: Coprocessors
>    Affects Versions: 2.0.0
>            Reporter: Duo Zhang
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> For example, StoreFile. Expose the implementation classes to CP will make it harder to
implement new features or improve the old implementation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message