Package org.apache.drill.exec.util

Examples of org.apache.drill.exec.util.MiniZooKeeperCluster


    }
  }

  public void startZookeeper(int numServers) {
    try {
      this.zkCluster = new MiniZooKeeperCluster();
      zkCluster.setDefaultClientPort(Integer.parseInt(this.zkUrl.split(":")[1]));
      zkCluster.startup(testDir, numServers);
    } catch (IOException e) {
      propagate(e);
    } catch (InterruptedException e) {
View Full Code Here


    }
  }

  private static void startZookeeper(int numServers) {
    try {
      zkCluster = new MiniZooKeeperCluster();
      zkCluster.setDefaultClientPort(Integer.parseInt(zkUrl.split(":")[1]));
      zkCluster.startup(testDir, numServers);
    } catch (IOException e) {
      propagate(e);
    } catch (InterruptedException e) {
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.util.MiniZooKeeperCluster

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.