jmxServer = new JmxServer(); state.jmxUrl = jmxServer.getJmxUrl(); state.jmxTunnelingUrl = jmxServer.getTunnelingJmxUrl(); } else { jmxServer = null;
/** * Stops all components of the JobCoordinator. */ private void onShutDown() { try { partitionMonitor.ifPresent(monitor -> monitor.stop()); inputStreamRegexMonitor.ifPresent(monitor -> monitor.stop()); systemAdmins.stop(); containerProcessManager.stop(); coordinatorStreamManager.stop(); } catch (Throwable e) { log.error("Exception while stopping task manager {}", e); } log.info("Stopped task manager"); if (jmxServer != null) { try { jmxServer.stop(); log.info("Stopped Jmx Server"); } catch (Throwable e) { log.error("Exception while stopping jmx server {}", e); } } }
jmxServer = new JmxServer(); state.jmxUrl = jmxServer.getJmxUrl(); state.jmxTunnelingUrl = jmxServer.getTunnelingJmxUrl(); } else { jmxServer = null;
/** * Stops all components of the JobCoordinator. */ private void onShutDown() { try { partitionMonitor.stop(); systemAdmins.stop(); containerProcessManager.stop(); coordinatorStreamManager.stop(); } catch (Throwable e) { log.error("Exception while stopping task manager {}", e); } log.info("Stopped task manager"); if (jmxServer != null) { try { jmxServer.stop(); log.info("Stopped Jmx Server"); } catch (Throwable e) { log.error("Exception while stopping jmx server {}", e); } } }
jmxServer = new JmxServer(); state.jmxUrl = jmxServer.getJmxUrl(); state.jmxTunnelingUrl = jmxServer.getTunnelingJmxUrl(); } else { jmxServer = null;
/** * Stops all components of the JobCoordinator. */ private void onShutDown() { try { partitionMonitor.stop(); systemAdmins.stop(); containerProcessManager.stop(); coordinatorStreamManager.stop(); } catch (Throwable e) { log.error("Exception while stopping task manager {}", e); } log.info("Stopped task manager"); if (jmxServer != null) { try { jmxServer.stop(); log.info("Stopped Jmx Server"); } catch (Throwable e) { log.error("Exception while stopping jmx server {}", e); } } }
jmxServer = new JmxServer(); state.jmxUrl = jmxServer.getJmxUrl(); state.jmxTunnelingUrl = jmxServer.getTunnelingJmxUrl(); } else { jmxServer = null;
/** * Stops all components of the JobCoordinator. */ private void onShutDown() { try { partitionMonitor.stop(); systemAdmins.stop(); containerProcessManager.stop(); coordinatorStreamManager.stop(); } catch (Throwable e) { log.error("Exception while stopping task manager {}", e); } log.info("Stopped task manager"); if (jmxServer != null) { try { jmxServer.stop(); log.info("Stopped Jmx Server"); } catch (Throwable e) { log.error("Exception while stopping jmx server {}", e); } } }
jmxServer = new JmxServer(); state.jmxUrl = jmxServer.getJmxUrl(); state.jmxTunnelingUrl = jmxServer.getTunnelingJmxUrl(); } else { jmxServer = null;
/** * Stops all components of the JobCoordinator. */ private void onShutDown() { try { partitionMonitor.stop(); systemAdmins.stop(); containerProcessManager.stop(); coordinatorStreamManager.stop(); } catch (Throwable e) { log.error("Exception while stopping task manager {}", e); } log.info("Stopped task manager"); if (jmxServer != null) { try { jmxServer.stop(); log.info("Stopped Jmx Server"); } catch (Throwable e) { log.error("Exception while stopping jmx server {}", e); } } }