Package org.apache.drill.exec.coord.zk
Class ZKDefaultACLProvider
java.lang.Object
org.apache.drill.exec.coord.zk.ZKDefaultACLProvider
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.zookeeper.data.ACL>
getDrillAclForPath
(String path) Returns the list of ZK ACLsACL
to apply for a specific Drill znodeList<org.apache.zookeeper.data.ACL>
Returns the list of ZK ACLsACL
to apply by default on Drill znodes
-
Constructor Details
-
ZKDefaultACLProvider
-
-
Method Details
-
getDrillDefaultAcl
Description copied from interface:ZKACLProvider
Returns the list of ZK ACLsACL
to apply by default on Drill znodes- Specified by:
getDrillDefaultAcl
in interfaceZKACLProvider
- Returns:
- List of ZK ACLs
ACL
-
getDrillAclForPath
Description copied from interface:ZKACLProvider
Returns the list of ZK ACLsACL
to apply for a specific Drill znode- Specified by:
getDrillAclForPath
in interfaceZKACLProvider
- Parameters:
path
- The path for which the ACL is being looked up- Returns:
- List of ZK ACLs
ACL
for the provided path
-