public void shutdown() { DefaultMetricsSystem.shutdown(); }
@Override protected void serviceStop() throws Exception { DefaultMetricsSystem.shutdown(); super.serviceStop(); }
public static void shutdown() { if (self != null) { for (ScheduledReporter reporter : self.scheduledReporters) { reporter.stop(); reporter.close(); } if (self.hadoopMetricsStarted) DefaultMetricsSystem.shutdown(); self = null; } }
public void shutdown() { DefaultMetricsSystem.shutdown(); }
public void shutdown() { DefaultMetricsSystem.shutdown(); }
DefaultMetricsSystem.shutdown();
@Override protected void serviceStop() throws Exception { super.serviceStop(); DefaultMetricsSystem.shutdown(); }
@Override protected void serviceStop() throws Exception { DefaultMetricsSystem.shutdown(); super.serviceStop(); }
@Override protected void serviceStop() throws Exception { DefaultMetricsSystem.shutdown(); super.serviceStop(); }
@Override protected void serviceStop() throws Exception { super.serviceStop(); DefaultMetricsSystem.shutdown(); if (pauseMonitor != null) { pauseMonitor.stop(); } }
@Override protected void serviceStop() throws Exception { if (webApp != null) { webApp.stop(); } DefaultMetricsSystem.shutdown(); super.serviceStop(); }
@Override protected void serviceStop() throws Exception { DefaultMetricsSystem.shutdown(); if (pauseMonitor != null) { pauseMonitor.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { super.serviceStop(); DefaultMetricsSystem.shutdown(); if (rmContext != null) { RMStateStore store = rmContext.getStateStore(); try { store.close(); } catch (Exception e) { LOG.error("Error closing store.", e); } } }
@Override public void serviceStart() throws Exception { super.serviceStart(); DefaultMetricsSystem.shutdown(); }
@After public void tearDown() { QueueMetrics.clearQueueMetrics(); DefaultMetricsSystem.shutdown(); }
@After public void tearDown() { QueueMetrics.clearQueueMetrics(); DefaultMetricsSystem.shutdown(); }
@After public void tearDown() { ClusterMetrics.destroy(); QueueMetrics.clearQueueMetrics(); DefaultMetricsSystem.shutdown(); }
@After public void tearDown() { if (resourceManager != null) { resourceManager.stop(); resourceManager = null; } QueueMetrics.clearQueueMetrics(); DefaultMetricsSystem.shutdown(); }
@After public void tearDown() { ClusterMetrics.destroy(); MetricsSystem ms = DefaultMetricsSystem.instance(); if (ms.getSource("ClusterMetrics") != null) { DefaultMetricsSystem.shutdown(); } } }
@After public void tearDown() { ClusterMetrics.destroy(); MetricsSystem ms = DefaultMetricsSystem.instance(); if (ms.getSource("ClusterMetrics") != null) { DefaultMetricsSystem.shutdown(); } } }