public class TestRegionServerAbort extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestRegionServerAbort.ErrorThrowingHRegion
Throws an exception during store file refresh in order to trigger a regionserver abort.
|
static class |
TestRegionServerAbort.StopBlockingRegionObserver |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private MiniHBaseCluster |
cluster |
private org.apache.hadoop.conf.Configuration |
conf |
private org.apache.hadoop.hdfs.MiniDFSCluster |
dfsCluster |
private static byte[] |
FAMILY_BYTES |
private static org.slf4j.Logger |
LOG |
private HBaseTestingUtility |
testUtil |
Constructor and Description |
---|
TestRegionServerAbort() |
Modifier and Type | Method and Description |
---|---|
void |
setup() |
void |
tearDown() |
void |
testAbortFromRPC()
Test that a regionserver is able to abort properly, even when a coprocessor
throws an exception in preStopRegionServer().
|
void |
testMultiAbort()
Tests that only a single abort is processed when multiple aborts are requested.
|
void |
testStopOverrideFromCoprocessor()
Test that a coprocessor is able to override a normal regionserver stop request.
|
public static final HBaseClassTestRule CLASS_RULE
private static final byte[] FAMILY_BYTES
private static final org.slf4j.Logger LOG
private HBaseTestingUtility testUtil
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.hdfs.MiniDFSCluster dfsCluster
private MiniHBaseCluster cluster
public TestRegionServerAbort()
public void testAbortFromRPC() throws Exception
Exception
public void testStopOverrideFromCoprocessor() throws Exception
Exception
public void testMultiAbort()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.