public void stop() { log.info("Invoked stop of the Samza container process manager"); // Shutdown allocator thread containerAllocator.stop(); try { allocatorThread.join(); log.info("Stopped container allocator"); } catch (InterruptedException ie) { log.error("Allocator Thread join() threw an interrupted exception", ie); Thread.currentThread().interrupt(); } if (metrics != null) { try { metrics.stop(); log.info("Stopped metrics reporters"); } catch (Throwable e) { log.error("Exception while stopping metrics {}", e); } } try { clusterResourceManager.stop(state.status); log.info("Stopped cluster resource manager"); } catch (Throwable e) { log.error("Exception while stopping cluster resource manager {}", e); } log.info("Finished stop of Container process manager"); }
public void stop() { log.info("Invoked stop of the Samza container process manager"); // Shutdown allocator thread containerAllocator.stop(); try { allocatorThread.join(); log.info("Stopped container allocator"); } catch (InterruptedException ie) { log.error("Allocator Thread join() threw an interrupted exception", ie); Thread.currentThread().interrupt(); } if (metrics != null) { try { metrics.stop(); log.info("Stopped metrics reporters"); } catch (Throwable e) { log.error("Exception while stopping metrics {}", e); } } try { clusterResourceManager.stop(state.status); log.info("Stopped cluster resource manager"); } catch (Throwable e) { log.error("Exception while stopping cluster resource manager {}", e); } log.info("Finished stop of Container process manager"); }
public void stop() { log.info("Invoked stop of the Samza container process manager"); // Shutdown allocator thread containerAllocator.stop(); try { allocatorThread.join(); log.info("Stopped container allocator"); } catch (InterruptedException ie) { log.error("Allocator Thread join() threw an interrupted exception", ie); Thread.currentThread().interrupt(); } if (metrics != null) { try { metrics.stop(); log.info("Stopped metrics reporters"); } catch (Throwable e) { log.error("Exception while stopping metrics {}", e); } } try { clusterResourceManager.stop(state.status); log.info("Stopped cluster resource manager"); } catch (Throwable e) { log.error("Exception while stopping cluster resource manager {}", e); } log.info("Finished stop of Container process manager"); }
public void stop() { log.info("Invoked stop of the Samza container process manager"); // Shutdown allocator thread containerAllocator.stop(); try { allocatorThread.join(); log.info("Stopped container allocator"); } catch (InterruptedException ie) { log.error("Allocator Thread join() threw an interrupted exception", ie); Thread.currentThread().interrupt(); } if (metrics != null) { try { metrics.stop(); log.info("Stopped metrics reporters"); } catch (Throwable e) { log.error("Exception while stopping metrics {}", e); } } try { clusterResourceManager.stop(state.status); log.info("Stopped cluster resource manager"); } catch (Throwable e) { log.error("Exception while stopping cluster resource manager {}", e); } log.info("Finished stop of Container process manager"); }
public void stop() { log.info("Invoked stop of the Samza container process manager"); // Shutdown allocator thread containerAllocator.stop(); try { allocatorThread.join(); log.info("Stopped container allocator"); } catch (InterruptedException ie) { log.error("Allocator Thread join() threw an interrupted exception", ie); Thread.currentThread().interrupt(); } if (metrics != null) { try { metrics.stop(); log.info("Stopped metrics reporters"); } catch (Throwable e) { log.error("Exception while stopping metrics {}", e); } } try { clusterResourceManager.stop(state.status); log.info("Stopped cluster resource manager"); } catch (Throwable e) { log.error("Exception while stopping cluster resource manager {}", e); } log.info("Finished stop of Container process manager"); }