Class TestAssignmentOnRSCrash
java.lang.Object
org.apache.hadoop.hbase.master.assignment.TestAssignmentOnRSCrash
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final String
private static final org.slf4j.Logger
private static final int
private static final org.apache.hadoop.hbase.TableName
private HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_TABLE
-
FAMILY_STR
- See Also:
-
FAMILY
-
NUM_RS
- See Also:
-
UTIL
-
-
Constructor Details
-
TestAssignmentOnRSCrash
public TestAssignmentOnRSCrash()
-
-
Method Details
-
setupConf
-
setup
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testKillRsWithUserRegionWithData
- Throws:
Exception
-
testKillRsWithUserRegionWithoutData
- Throws:
Exception
-
testStopRsWithUserRegionWithData
- Throws:
Exception
-
testStopRsWithUserRegionWithoutData
- Throws:
Exception
-
testCrashRsWithUserRegion
- Throws:
Exception
-
testKillRsWithMetaRegion
- Throws:
Exception
-
testStopRsWithMetaRegion
- Throws:
Exception
-
testCrashRsWithMetaRegion
- Throws:
Exception
-
testInsert
private void testInsert(org.apache.hadoop.hbase.client.RegionInfo hri, int nrows) throws IOException - Throws:
IOException
-
testGet
- Throws:
IOException
-