[ 
https://issues.apache.org/jira/browse/HBASE-16962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiruvel Thirumoolan updated HBASE-16962:
-----------------------------------------
    Release Note: 
The following RegionObserver methods are deprecated and would no longer be 
called in hbase 2.0:

InternalScanner preFlushScannerOpen(final 
ObserverContext<RegionCoprocessorEnvironment> c,
    final Store store, final KeyValueScanner memstoreScanner, final 
InternalScanner s)
    throws IOException;

InternalScanner preCompactScannerOpen(final 
ObserverContext<RegionCoprocessorEnvironment> c,
    final Store store, List<? extends KeyValueScanner> scanners, final ScanType 
scanType,
    final long earliestPutTs, final InternalScanner s, CompactionRequest 
request)

Instead, use the following methods:

InternalScanner preFlushScannerOpen(final 
ObserverContext<RegionCoprocessorEnvironment> c,
    final Store store, final KeyValueScanner memstoreScanner, final 
InternalScanner s,
    final long readPoint) throws IOException;

InternalScanner preCompactScannerOpen(final 
ObserverContext<RegionCoprocessorEnvironment> c,
    final Store store, List<? extends KeyValueScanner> scanners, final ScanType 
scanType,
    final long earliestPutTs, final InternalScanner s, final CompactionRequest 
request,
    final long readPoint) throws IOException
          Status: Patch Available  (was: Open)

> Add readPoint to preCompactScannerOpen() and preFlushScannerOpen() API
> ----------------------------------------------------------------------
>
>                 Key: HBASE-16962
>                 URL: https://issues.apache.org/jira/browse/HBASE-16962
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Thiruvel Thirumoolan
>            Assignee: Thiruvel Thirumoolan
>         Attachments: HBASE-16962.master.001.patch, 
> HBASE-16962.master.002.patch, HBASE-16962.master.003.patch, 
> HBASE-16962.master.004.patch, HBASE-16962.rough.patch
>
>
> Similar to HBASE-15759, I would like to add readPoint to the 
> preCompactScannerOpen() API.
> I have a CP where I create a StoreScanner() as part of the 
> preCompactScannerOpen() API. I need the readpoint which was obtained in 
> Compactor.compact() method to be consistent.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to