use of org.apache.hadoop.registry.client.impl.zk.CuratorService in project hadoop by apache.
the class TestSecureRegistry method testInsecureClientToZK.
@Test
public void testInsecureClientToZK() throws Throwable {
startSecureZK();
userZookeeperToCreateRoot();
RegistrySecurity.clearZKSaslClientProperties();
CuratorService curatorService = startCuratorServiceInstance("insecure client", false);
curatorService.zkList("/");
curatorService.zkMkPath("", CreateMode.PERSISTENT, false, RegistrySecurity.WorldReadWriteACL);
}
Aggregations