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

Add Scan object to preScannerNext and postScannerNext methods on RegionObserver

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.96.1.1
    • None
    • Coprocessors
    • 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

        1. HBASE-10311.patch
          14 kB
          Neil Ferguson

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: