Package org.apache.drill.exec.coord.zk
Class ZKACLProviderFactory
java.lang.Object
org.apache.drill.exec.coord.zk.ZKACLProviderFactory
This factory returns a
ZKACLProviderDelegate
which will be used to set ACLs on Drill ZK nodes
If secure ACLs are required, the ZKACLProviderFactory
looks up and instantiates a ZKACLProviderDelegate
specified in the config file. Else it returns the ZKDefaultACLProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ZKACLProviderDelegate
findACLProvider
(DrillConfig config, ZKACLContextProvider contextProvider, BootStrapContext context) static ZKACLProviderDelegate
getACLProvider
(DrillConfig config, String drillClusterPath, BootStrapContext context)
-
Constructor Details
-
ZKACLProviderFactory
public ZKACLProviderFactory()
-
-
Method Details
-
getACLProvider
public static ZKACLProviderDelegate getACLProvider(DrillConfig config, String drillClusterPath, BootStrapContext context) throws DrillbitStartupException - Throws:
DrillbitStartupException
-
findACLProvider
public static ZKACLProviderDelegate findACLProvider(DrillConfig config, ZKACLContextProvider contextProvider, BootStrapContext context) throws DrillbitStartupException - Throws:
DrillbitStartupException
-