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 Wed, 26 Jul 2017 03:59:00 GMT

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

Duo Zhang commented on HBASE-18169:
-----------------------------------

Skimmed HBASE-7725, I think the intention is that, we can use Store.requestCompaction to start
a compaction, and we need to get the CompactionRequest in coprocessor to indicate that this
is the compaction we request. And then we can use preCompactSelection to reset our compaction
candidates and also, use the CompactionRequest to wait for the compaction finish.

And seems we need to extends CompactionRequest and implement beforeExecute and afterExecute...
This is not good. Let me try to find another way to also provide the same ability to CP.

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
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Duo Zhang
>            Priority: Critical
>             Fix For: 2.0.0, 3.0.0, 2.0.0-alpha-2
>
>
> 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.4.14#64029)

Mime
View raw message