Class ZKPermissionWatcher

java.lang.Object
org.apache.hadoop.hbase.zookeeper.ZKListener
org.apache.hadoop.hbase.security.access.ZKPermissionWatcher
All Implemented Interfaces:
Closeable, AutoCloseable

@Private public class ZKPermissionWatcher extends ZKListener implements Closeable
Handles synchronization of access control list entries and updates throughout all nodes in the cluster. The AccessController instance on the _acl_ table regions, creates a znode for each table as /hbase/acl/tablename, with the znode data containing a serialized list of the permissions granted for the table. The AccessController instances on all other cluster hosts watch the znodes for updates, which trigger updates in the AuthManager permission cache.