public class NodeHealthScriptRunner extends TimedHealthReporterService
Modifier and Type | Method and Description |
---|---|
static NodeHealthScriptRunner |
newInstance(String scriptName,
org.apache.hadoop.conf.Configuration conf) |
void |
serviceStop()
Method used to terminate the health monitoring service.
|
getHealthReport, getLastHealthReportTime, isHealthy, serviceStart, setHealthy
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public static NodeHealthScriptRunner newInstance(String scriptName, org.apache.hadoop.conf.Configuration conf)
public void serviceStop() throws Exception
TimedHealthReporterService
serviceStop
in class TimedHealthReporterService
Exception
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.