Package org.apache.hadoop.hbase
Class TestNodeHealthCheckChore
java.lang.Object
org.apache.hadoop.hbase.TestNodeHealthCheckChore
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
Simple helper class that just keeps track of whether or not its stopped. -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private String
private File
private static final org.slf4j.Logger
private static final int
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanUp()
private void
createScript
(String scriptStr, boolean setExecutable) private org.apache.hadoop.conf.Configuration
void
healthCheckerTest
(String script, org.apache.hadoop.hbase.HealthChecker.HealthCheckerExitStatus expectedStatus) void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
SCRIPT_TIMEOUT
- See Also:
-
healthScriptFile
-
eol
-
-
Constructor Details
-
TestNodeHealthCheckChore
public TestNodeHealthCheckChore()
-
-
Method Details
-
cleanUp
- Throws:
IOException
-
testHealthCheckerSuccess
- Throws:
Exception
-
testHealthCheckerFail
- Throws:
Exception
-
testHealthCheckerTimeout
- Throws:
Exception
-
healthCheckerTest
public void healthCheckerTest(String script, org.apache.hadoop.hbase.HealthChecker.HealthCheckerExitStatus expectedStatus) throws Exception - Throws:
Exception
-
testRSHealthChore
- Throws:
Exception
-
createScript
- Throws:
Exception
-
getConfForNodeHealthScript
- Throws:
IOException
-