public class TestAssignmentOnRSCrash extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
private static String |
FAMILY_STR |
private static org.slf4j.Logger |
LOG |
private static int |
NUM_RS |
private static org.apache.hadoop.hbase.TableName |
TEST_TABLE |
private HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestAssignmentOnRSCrash() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
private static void |
setupConf(org.apache.hadoop.conf.Configuration conf) |
void |
tearDown() |
private void |
testCrashRsWithMetaRegion(boolean kill) |
private void |
testCrashRsWithUserRegion(boolean kill,
boolean withData) |
int |
testGet(org.apache.hadoop.hbase.client.RegionInfo hri,
int nrows) |
private void |
testInsert(org.apache.hadoop.hbase.client.RegionInfo hri,
int nrows) |
void |
testKillRsWithMetaRegion() |
void |
testKillRsWithUserRegionWithData() |
void |
testKillRsWithUserRegionWithoutData() |
void |
testStopRsWithMetaRegion() |
void |
testStopRsWithUserRegionWithData() |
void |
testStopRsWithUserRegionWithoutData() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final org.apache.hadoop.hbase.TableName TEST_TABLE
private static final String FAMILY_STR
private static final byte[] FAMILY
private static final int NUM_RS
private HBaseTestingUtility UTIL
public TestAssignmentOnRSCrash()
private static void setupConf(org.apache.hadoop.conf.Configuration conf)
public void testKillRsWithUserRegionWithData() throws Exception
Exceptionpublic void testKillRsWithUserRegionWithoutData() throws Exception
Exceptionpublic void testStopRsWithUserRegionWithData() throws Exception
Exceptionpublic void testStopRsWithUserRegionWithoutData() throws Exception
Exceptionprivate void testCrashRsWithUserRegion(boolean kill, boolean withData) throws Exception
Exceptionpublic void testKillRsWithMetaRegion() throws Exception
Exceptionpublic void testStopRsWithMetaRegion() throws Exception
Exceptionprivate void testCrashRsWithMetaRegion(boolean kill) throws Exception
Exceptionprivate void testInsert(org.apache.hadoop.hbase.client.RegionInfo hri, int nrows) throws IOException
IOExceptionpublic int testGet(org.apache.hadoop.hbase.client.RegionInfo hri, int nrows) throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.