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 byZKACLProviderDelegate
to access ZK-ACL related informationThis class defines the methods that are required to specify ACLs on Drill ZK nodesThis class hides theZKACLProvider
from Curator-specific functions This is done so that ACL Providers have to be aware only about ZK ACLs and the DrillZKACLProvider
interface ACL Providers should not be concerned with the framework (Curator) used by Drill to access ZK.This factory returns aZKACLProviderDelegate
which will be used to set ACLs on Drill ZK nodes If secure ACLs are required, theZKACLProviderFactory
looks up and instantiates aZKACLProviderDelegate
specified in the config file.Annotation forZKACLProviderDelegate
implementation 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.