[
https://issues.apache.org/jira/browse/HBASE-18169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042288#comment-16042288
]
Duo Zhang commented on HBASE-18169:
-----------------------------------
I think maybe we need to decide whether to use the interface in our own code?
If we always cast Region to HRegion in our own code, then why not use HRegion
directly in our own code? And the same for HRegionServer, HStore and
HStoreFile. There maybe exceptions, for example, RegionScanner? Users may want
to implement their own RegionScanner and wrapper the original RegionScanner?
What do you guys think? Thanks.
> Remove the methods in IA.LimitedPrivate interfaces which are not useful for CP
> ------------------------------------------------------------------------------
>
> Key: HBASE-18169
> URL: https://issues.apache.org/jira/browse/HBASE-18169
> Project: HBase
> Issue Type: Improvement
> Components: Coprocessors
> Reporter: Duo Zhang
> Priority: Critical
> Fix For: 2.0.0
>
>
> As discussed in HBASE-18038. In RegionServerServices, Region and StoreFile
> interfaces we expose too many unnecessary methods. We need to find a way to
> not expose these methods to CP.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)