[
https://issues.apache.org/jira/browse/HBASE-18793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang updated HBASE-18793:
------------------------------
Release Note:
These deprecated methods are removed from RegionObserver:
InternalScanner preFlushScannerOpen(ObserverContext, Store, List,
InternalScanner) throws IOException;
void preCompactSelection(ObserverContext, Store, List) throws IOException;
void postCompactSelection(ObserverContext, Store, ImmutableList);
InternalScanner preCompact(ObserverContext, Store, InternalScanner, ScanType)
throws IOException;
InternalScanner preCompactScannerOpen(ObserverContext, Store, List, ScanType,
long, InternalScanner, CompactionRequest) throws IOException;
InternalScanner preCompactScannerOpen( ObserverContext, Store store, List,
ScanType, long, InternalScanner) throws IOException;
void preSplit(ObserverContext) throws IOException;
void preSplit(ObserverContext, byte[]) throws IOException;
void postSplit(ObserverContext, Region, Region) throws IOException;
void preSplitBeforePONR(ObserverContext, byte[], List) throws IOException;
void preSplitAfterPONR(ObserverContext) throws IOException;
void preRollBackSplit(ObserverContext) throws IOException;
void postRollBackSplit(ObserverContext) throws IOException;
void postCompleteSplit(ObserverContext) throws IOException;
long preIncrementColumnValue(ObserverContext, byte[], byte[], byte[], long,
boolean) throws IOException;
long postIncrementColumnValue(ObserverContextc, byte[], byte[], byte[], long,
boolean, long) throws IOException;
KeyValueScanner preStoreScannerOpen(ObserverContext, Store, Scan, NavigableSet,
KeyValueScanner) throws IOException;
boolean postScannerFilterRow(ObserverContext, InternalScanner, byte[], int,
short, boolean) throws IOException;
boolean postBulkLoadHFile(ObserverContext, List, boolean) throws IOException;
And this method is also removed since we never call it in our code base:
InternalScanner preFlushScannerOpen(ObserverContext, Store, KeyValueScanner,
InternalScanner, long) throws IOException;
The deprecated annotation is removed for these two methods as they are still
being used:
void preFlush(ObserverContext) throws IOException;
void postFlush(ObserverContextc) throws IOException;
was:All deprecated methods are removed from RegionObserver. And also removed
the preFlushScannerOpen which takes a single KeyValyeScanner as parameter as
now we always provide a List of KeyValueScanners. And the deprecated annotation
on preFlush and postFlush methods are removed as we think they are still useful.
> Remove deprecated methods in RegionObserver
> -------------------------------------------
>
> Key: HBASE-18793
> URL: https://issues.apache.org/jira/browse/HBASE-18793
> Project: HBase
> Issue Type: Sub-task
> Components: Coprocessors
> Affects Versions: 3.0.0, 2.0.0-alpha-2
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Fix For: 3.0.0, 2.0.0-alpha-3
>
> Attachments: HBASE-18793.patch, HBASE-18793-v1.patch
>
>
> As we have already done lots of incomplete changes on CP APIs and it is
> allowed to do breaking changes on major release.
> Let's make the API clean.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)