Package org.apache.hadoop.hbase
Class HealthChecker
java.lang.Object
org.apache.hadoop.hbase.HealthChecker
A utility for executing an external script that checks the health of the node. An example script
can be found at src/main/sh/healthcheck/healthcheck.sh in the hbase-examples
module.
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static enum
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOG
-
shexec
-
exceptionStackTrace
-
ERROR_PATTERN
Pattern used for searching in the output of the node health script- See Also:
-
healthCheckScript
-
scriptTimeout
-
-
Constructor Details
-
HealthChecker
-
-
Method Details
-
init
Initialize.- Parameters:
location
- the location of the health scripttimeout
- the timeout to be used for the health script
-
checkHealth
-
hasErrors
-
getHealthReport
-