Package org.apache.storm.zookeeper
Class AclEnforcement
- java.lang.Object
-
- org.apache.storm.zookeeper.AclEnforcement
-
public class AclEnforcement extends Object
This is code intended to enforce ZK ACLs.
-
-
Constructor Summary
Constructors Constructor Description AclEnforcement()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
static void
verifyAcls(Map<String,Object> conf, boolean fixUp)
Verify the ZK ACLs are correct and optionally fix them if needed.
-
-
-
Method Detail
-
verifyAcls
public static void verifyAcls(Map<String,Object> conf, boolean fixUp) throws Exception
Verify the ZK ACLs are correct and optionally fix them if needed.- Parameters:
conf
- the cluster config.fixUp
- true if we want to fix the ACLs else false.- Throws:
Exception
- on any error.
-
-