Package org.apache.drill.exec.coord.zk
package org.apache.drill.exec.coord.zk
Zookeeper/Curator integration code.
Zookeeper is a cluster coordination service used by Drill to maintain cluster
membership information. Curator is a library built on top of Zookeeper that
handles some of the lower level details of using Zookeeper.
-
ClassDescriptionAn abstraction used for dispatching store
events.A convenience class used to expedite zookeeper paths manipulations.Defines the functions required byZKACLProviderDelegateto access ZK-ACL related informationThis class defines the methods that are required to specify ACLs on Drill ZK nodesThis class hides theZKACLProviderfrom Curator-specific functions This is done so that ACL Providers have to be aware only about ZK ACLs and the DrillZKACLProviderinterface ACL Providers should not be concerned with the framework (Curator) used by Drill to access ZK.This factory returns aZKACLProviderDelegatewhich will be used to set ACLs on Drill ZK nodes If secure ACLs are required, theZKACLProviderFactorylooks up and instantiates aZKACLProviderDelegatespecified in the config file.Annotation forZKACLProviderDelegateimplementation to identify the implementation type.Manages cluster coordination utilizing zookeeper.ZKDefaultACLProvider provides the ACLs for znodes created in a un-secure installation.ZKSecureACLProvider restricts access to znodes created by Drill in a secure installation.A namespace aware Zookeeper client.