Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18169 Coprocessor fix and cleanup before 2.0.0 release
  3. HBASE-18747

Introduce new example and helper classes to tell CP users how to do filtering on scanners

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-4, 2.0.0
    • Coprocessors
    • None
    • Reviewed
    • Modify ZooKeeperScanPolicyObserver in hbase-examples to show how to do filtering in the CP hooks of flush and compaction in hbase-2.0.

    Description

      Finally we decided that CP users should not have the ability to create StoreScanner or StoreFileScanner, so it is impossible for them to filter out some cells when flush or compaction by simply provide a filter when constructing StoreScanner.

      But I think filtering out some cells is a very important usage for CP users, so we need to provide the ability in another way. Theoretically it can be done with wrapping an InternalScanner, but I think we need to give an example, or even some helper classes to help CP users.

      Attachments

        1. HBASE-18747-v1.patch
          31 kB
          Duo Zhang
        2. HBASE-18747.patch
          34 kB
          Duo Zhang

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: