You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/05/16 16:10:12 UTC

[jira] [Updated] (PHOENIX-2880) Switch to the new RegionObserver#preStoreScannerOpen() method which accepts read point parameter

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

Ted Yu updated PHOENIX-2880:
----------------------------
    Description: 
Over in HBASE-15759, the following method is added to RegionObserver :

{code}
  public KeyValueScanner preStoreScannerOpen(final ObserverContext<RegionCoprocessorEnvironment> c,
      final Store store, final Scan scan, final NavigableSet<byte[]> targetCols,
      final KeyValueScanner s, final long readPt) throws IOException {
{code}
Currently the preStoreScannerOpen() without read point parameter is used in IndexHalfStoreFileReaderGenerator

We need to switch over to calling the new method for hbase 2.0

  was:
Over in HBASE-15759, the following method is added to RegionObserver :
{code}
  public KeyValueScanner preStoreScannerOpen(final ObserverContext<RegionCoprocessorEnvironment> c,
      final Store store, final Scan scan, final NavigableSet<byte[]> targetCols,
      final KeyValueScanner s, final long readPt) throws IOException {
{code}
Currently the preStoreScannerOpen() without read point parameter is used in IndexHalfStoreFileReaderGenerator

We need to switch over to calling the new method for hbase 2.0


> Switch to the new RegionObserver#preStoreScannerOpen() method which accepts read point parameter
> ------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-2880
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2880
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: Ted Yu
>
> Over in HBASE-15759, the following method is added to RegionObserver :
> {code}
>   public KeyValueScanner preStoreScannerOpen(final ObserverContext<RegionCoprocessorEnvironment> c,
>       final Store store, final Scan scan, final NavigableSet<byte[]> targetCols,
>       final KeyValueScanner s, final long readPt) throws IOException {
> {code}
> Currently the preStoreScannerOpen() without read point parameter is used in IndexHalfStoreFileReaderGenerator
> We need to switch over to calling the new method for hbase 2.0



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