Class ZKDefaultACLProvider

java.lang.Object
org.apache.drill.exec.coord.zk.ZKDefaultACLProvider
All Implemented Interfaces:
ZKACLProvider

public class ZKDefaultACLProvider extends Object implements ZKACLProvider
ZKDefaultACLProvider provides the ACLs for znodes created in a un-secure installation. If this ACLProvider is used, everyone gets unrestricted access to the Drill znodes
  • Constructor Details

  • Method Details

    • getDrillDefaultAcl

      public List<org.apache.zookeeper.data.ACL> getDrillDefaultAcl()
      Description copied from interface: ZKACLProvider
      Returns the list of ZK ACLs ACL to apply by default on Drill znodes
      Specified by:
      getDrillDefaultAcl in interface ZKACLProvider
      Returns:
      List of ZK ACLs ACL
    • getDrillAclForPath

      public List<org.apache.zookeeper.data.ACL> getDrillAclForPath(String path)
      Description copied from interface: ZKACLProvider
      Returns the list of ZK ACLs ACL to apply for a specific Drill znode
      Specified by:
      getDrillAclForPath in interface ZKACLProvider
      Parameters:
      path - The path for which the ACL is being looked up
      Returns:
      List of ZK ACLs ACL for the provided path