HBase
  1. HBase
  2. HBASE-10311

Add Scan object to preScannerNext and postScannerNext methods on RegionObserver

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major 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?

      1. HBASE-10311.patch
        14 kB
        Neil Ferguson

        Activity

        Neil Ferguson created issue -
        Neil Ferguson made changes -
        Field Original Value New Value
        Attachment HBASE-10311.patch [ 12622401 ]
        Anoop Sam John made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        stack made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development