Package org.apache.drill.exec.coord.zk
Class ZKSecureACLProvider
java.lang.Object
org.apache.drill.exec.coord.zk.ZKSecureACLProvider
- All Implemented Interfaces:
ZKACLProvider
ZKSecureACLProvider restricts access to znodes created by Drill in a secure installation.
For all other znodes, only the creator of the znode, i.e the Drillbit user, has full access.
In addition to the above, all znodes under the cluster path are readable by anyone.
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
ZKSecureACLProvider
-
-
Method Details
-
getDrillDefaultAcl
Description copied from interface:ZKACLProviderReturns the list of ZK ACLsACLto apply by default on Drill znodes- Specified by:
getDrillDefaultAclin interfaceZKACLProvider- Returns:
- List of ZK ACLs
ACL
-
getDrillAclForPath
Description copied from interface:ZKACLProviderReturns the list of ZK ACLsACLto apply for a specific Drill znode- Specified by:
getDrillAclForPathin interfaceZKACLProvider- Parameters:
path- The path for which the ACL is being looked up- Returns:
- List of ZK ACLs
ACLfor the provided path
-