Details
-
Sub-task
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
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
Attachments
Issue Links
- relates to
-
HBASE-18989 Polish the compaction related CP hooks
- Closed