Class TestRegionServerAbort
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestRegionServerAbort
Tests around regionserver shutdown and abort
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Throws an exception during store file refresh in order to trigger a regionserver abort.static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private SingleProcessHBaseCluster
private org.apache.hadoop.conf.Configuration
private org.apache.hadoop.hdfs.MiniDFSCluster
private static final byte[]
private static final org.slf4j.Logger
private HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setup()
void
tearDown()
void
Test that a regionserver is able to abort properly, even when a coprocessor throws an exception in preStopRegionServer().void
Tests that only a single abort is processed when multiple aborts are requested.void
Test that a coprocessor is able to override a normal regionserver stop request.
-
Field Details
-
CLASS_RULE
-
FAMILY_BYTES
-
LOG
-
testUtil
-
conf
-
dfsCluster
-
cluster
-
-
Constructor Details
-
TestRegionServerAbort
public TestRegionServerAbort()
-
-
Method Details
-
setup
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testAbortFromRPC
Test that a regionserver is able to abort properly, even when a coprocessor throws an exception in preStopRegionServer().- Throws:
Exception
-
testStopOverrideFromCoprocessor
Test that a coprocessor is able to override a normal regionserver stop request.- Throws:
Exception
-
testMultiAbort
Tests that only a single abort is processed when multiple aborts are requested.
-