hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18169) Remove the methods in IA.LimitedPrivate interfaces which are not useful for CP
Date Thu, 08 Jun 2017 06:42:18 GMT

    [ 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)

Mime
View raw message