// Name of the lock group resource (specified by the config file)
String lockGroupName = null;
try {
startLocalZookeeper(2199);
YAMLClusterSetup setup = new YAMLClusterSetup(zkAddress);
InputStream input =
Thread.currentThread().getContextClassLoader()
.getResourceAsStream("lock-manager-config.yaml");
final YAMLClusterSetup.YAMLClusterConfig config = setup.setupCluster(input);
if (config == null) {
LOG.error("Invalid YAML configuration");
return;
}
if (config.resources == null || config.resources.isEmpty()) {