本文整理了Java中org.apache.drill.yarn.zk.ZKClusterCoordinatorDriver.close()
方法的一些代码示例,展示了ZKClusterCoordinatorDriver.close()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZKClusterCoordinatorDriver.close()
方法的具体详情如下:
包路径:org.apache.drill.yarn.zk.ZKClusterCoordinatorDriver
类名称:ZKClusterCoordinatorDriver
方法名:close
暂无
代码示例来源:origin: apache/drill
public void finish(RegistryHandler handler) {
zkDriver.removeDrillbitListener(this);
zkDriver.close();
}
代码示例来源:origin: apache/drill
/**
* Basic setup: start a ZK and verify that the initial endpoint list is empty.
* Also validates the basics of the test setup (mock server, etc.)
*
* @throws Exception
*/
@Test
public void testBasics() throws Exception {
try (TestingServer server = new TestingServer()) {
server.start();
String connStr = server.getConnectString();
ZKClusterCoordinatorDriver driver = new ZKClusterCoordinatorDriver()
.setConnect(connStr, "drill", "drillbits").build();
assertTrue(driver.getInitialEndpoints().isEmpty());
driver.close();
server.stop();
}
}
代码示例来源:origin: apache/drill
driver2.close();
driver2.close();
driver2.close();
driver.close();
driver2.close();
代码示例来源:origin: apache/drill
driver.close();
server.stop();
server.close();
代码示例来源:origin: apache/drill
driver.close();
server.stop();
server.close();
内容来源于网络,如有侵权,请联系作者删除!