Package org.apache.drill.exec.coord.zk
Interface ZKACLProvider
- All Known Implementing Classes:
ZKDefaultACLProvider,ZKSecureACLProvider
public interface ZKACLProvider
This class defines the methods that are required to specify
ACLs on Drill ZK nodes
-
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.zookeeper.data.ACL> getDrillAclForPath(String path) Returns the list of ZK ACLsACLto apply for a specific Drill znodeList<org.apache.zookeeper.data.ACL> Returns the list of ZK ACLsACLto apply by default on Drill znodes
-
Method Details
-
getDrillDefaultAcl
List<org.apache.zookeeper.data.ACL> getDrillDefaultAcl()Returns the list of ZK ACLsACLto apply by default on Drill znodes- Returns:
- List of ZK ACLs
ACL
-
getDrillAclForPath
Returns the list of ZK ACLsACLto apply for a specific Drill znode- Parameters:
path- The path for which the ACL is being looked up- Returns:
- List of ZK ACLs
ACLfor the provided path
-