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
Exception
public void testKillRsWithUserRegionWithoutData() throws Exception
Exception
public void testStopRsWithUserRegionWithData() throws Exception
Exception
public void testStopRsWithUserRegionWithoutData() throws Exception
Exception
private void testCrashRsWithUserRegion(boolean kill, boolean withData) throws Exception
Exception
public void testKillRsWithMetaRegion() throws Exception
Exception
public void testStopRsWithMetaRegion() throws Exception
Exception
private void testCrashRsWithMetaRegion(boolean kill) throws Exception
Exception
private void testInsert(org.apache.hadoop.hbase.client.RegionInfo hri, int nrows) throws IOException
IOException
public int testGet(org.apache.hadoop.hbase.client.RegionInfo hri, int nrows) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.