Package org.apache.helix.tools

Examples of org.apache.helix.tools.YAMLClusterSetup$YAMLClusterConfig


    // 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()) {
View Full Code Here

TOP

Related Classes of org.apache.helix.tools.YAMLClusterSetup$YAMLClusterConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.