@Override public void close() throws IOException { zkClient.stopAndWait(); }
@Override public void close() throws IOException { try { if (txService != null) txService.stopAndWait(); } finally { if (zkClient != null) zkClient.stopAndWait(); } }
@Override public void close() { // zkClientService is null if used by the Explore service, // since Explore manages the lifecycle of the zk service. it is not null if used by a MR job launched by Hive. if (zkClientService != null) { zkClientService.stopAndWait(); } } }
@Override public void close() { // zkClientService is null if used by the Explore service, // since Explore manages the lifecycle of the zk service. it is not null if used by a MR job launched by Hive. if (zkClientService != null) { zkClientService.stopAndWait(); } } }
@Override public void close() throws IOException { zkClient.stopAndWait(); }
@Override public void close() throws IOException { try { if (txService != null) txService.stopAndWait(); } finally { if (zkClient != null) zkClient.stopAndWait(); } }
@Override public void close() throws IOException { try { if (txService != null) txService.stopAndWait(); } finally { if (zkClient != null) zkClient.stopAndWait(); } }
/** * Frees up the underlying resources common to all clients. */ public void close() { try { if (conn != null) { conn.close(); } } catch (IOException ignored) { } if (zkClient != null) { zkClient.stopAndWait(); } }
/** * Stop services and */ private void stop() { try { txService.stopAndWait(); zkClientService.stopAndWait(); } catch (Throwable e) { LOG.error("Exception while trying to stop upgrade process", e); Runtime.getRuntime().halt(1); } }
@After public void after() { zkClient.stopAndWait(); zkServer.stopAndWait(); }
@After public void after() { zkClient.stopAndWait(); zkServer.stopAndWait(); }
@AfterClass public static void finish() throws Exception { zkClientService.stopAndWait(); zkServer.stopAndWait(); }
@AfterClass public static void finish() { zkClient.stopAndWait(); zkServer.stopAndWait(); }
@After public void after() { zkClient.stopAndWait(); zkServer.stopAndWait(); }
@AfterClass public static void afterClass() { zkClient.stopAndWait(); zkServer.stopAndWait(); }
@AfterClass public static void stop() throws Exception { txService.stopAndWait(); zkClientService.stopAndWait(); zkServer.stopAndWait(); }
@AfterClass public static void teardownBase() { zkClientService.stopAndWait(); zkServer.stopAndWait(); DBHelper.dropDerbyDB(); }
@Override protected void after() { brokerService.stopAndWait(); kafkaClient.stopAndWait(); zkClient.stopAndWait(); kafkaServer.stopAndWait(); zkServer.stopAndWait(); }
@AfterClass public static void stop() throws Exception { txService.stopAndWait(); storage.stopAndWait(); zkClientService.stopAndWait(); zkServer.stopAndWait(); }
@AfterClass public static void stop() throws Exception { txService.stopAndWait(); storage.stopAndWait(); zkClientService.stopAndWait(); zkServer.stopAndWait(); }