hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Ferguson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10311) Add Scan object to preScannerNext and postScannerNext methods on RegionObserver
Date Fri, 10 Jan 2014 16:04:50 GMT
Neil Ferguson created HBASE-10311:
-------------------------------------

             Summary: Add Scan object to preScannerNext and postScannerNext methods on RegionObserver
                 Key: HBASE-10311
                 URL: https://issues.apache.org/jira/browse/HBASE-10311
             Project: HBase
          Issue Type: New Feature
          Components: Coprocessors
    Affects Versions: 0.96.1.1
            Reporter: Neil Ferguson


I'd like to be able to access the org.apache.hadoop.hbase.client.Scan that was used to create
a scanner in the RegionObserver.preScannerNext and RegionObserver.postScannerNext methods.

The Scan object is available in the preScannerOpen method, but not in the preScannerNext or
postScannerNext methods.

The reason is that I'd like to access the attributes of the Scan object. I want to do some
resource management in the coprocessor based on some attributes of the Scan object (like,
who created it).

Alternatively, does anybody know of another way to get hold of the Scan object in these methods
without modifying things?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message