Class ZooKeeperScanPolicyObserver

java.lang.Object
org.apache.hadoop.hbase.coprocessor.example.ZooKeeperScanPolicyObserver
All Implemented Interfaces:
Coprocessor, RegionCoprocessor, RegionObserver

@Private public class ZooKeeperScanPolicyObserver extends Object implements RegionCoprocessor, RegionObserver
This is an example showing how a RegionObserver could be configured via ZooKeeper in order to control a Region compaction, flush, and scan policy. This also demonstrated the use of shared RegionObserver state. See RegionCoprocessorEnvironment.getSharedData().

This would be useful for an incremental backup tool, which would indicate the last time of a successful backup via ZK and instruct HBase that to safely delete the data which has already been backup.