Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10311

Add Scan object to preScannerNext and postScannerNext methods on RegionObserver

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 0.96.1.1
    • Fix Version/s: None
    • Component/s: Coprocessors
    • Labels:
      None

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              neilf Neil Ferguson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: