Class TestRegionServerAbort
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestRegionServerAbort
Tests around regionserver shutdown and abort
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThrows an exception during store file refresh in order to trigger a regionserver abort.static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate SingleProcessHBaseClusterprivate org.apache.hadoop.conf.Configurationprivate org.apache.hadoop.hdfs.MiniDFSClusterprivate static final byte[]private static final org.slf4j.Loggerprivate HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetup()voidtearDown()voidTest that a regionserver is able to abort properly, even when a coprocessor throws an exception in preStopRegionServer().voidTests that only a single abort is processed when multiple aborts are requested.voidTest 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.
-