hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17106) Wrap arguments to Coprocessor method invocations in Context objects
Date Mon, 25 Sep 2017 19:40:00 GMT

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

stack commented on HBASE-17106:

Aspirational. Unscheduling from 2.0.0.

> Wrap arguments to Coprocessor method invocations in Context objects
> -------------------------------------------------------------------
>                 Key: HBASE-17106
>                 URL: https://issues.apache.org/jira/browse/HBASE-17106
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Enis Soztutar
> As discussed in various contexts (and recently in https://issues.apache.org/jira/browse/HBASE-16962?focusedCommentId=15648512&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15648512)
we have a very large number of deprecated methods in RegionObserver (and possibly others)
which are due to the fact that the method signatures like: 
> {code}
>   @Deprecated
>   InternalScanner preFlushScannerOpen(final ObserverContext<RegionCoprocessorEnvironment>
>       final Store store, final KeyValueScanner memstoreScanner, final InternalScanner
>       throws IOException;
> {code}
> depend inherently on the internal method signatures which gets changed frequently. 
> We should look into wrapping the method arguments for such declerations in the RegionObserver
interface so that we can evolve and add new arguments without breaking existing coprocessors
between minor versions. 

This message was sent by Atlassian JIRA

View raw message