Class TestAssignmentOnRSCrash
java.lang.Object
org.apache.hadoop.hbase.master.assignment.TestAssignmentOnRSCrash
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private static final Stringprivate static final org.slf4j.Loggerprivate static final intprivate static final org.apache.hadoop.hbase.TableNameprivate HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetup()private static voidsetupConf(org.apache.hadoop.conf.Configuration conf) voidtearDown()private voidtestCrashRsWithMetaRegion(boolean kill) private voidtestCrashRsWithUserRegion(boolean kill, boolean withData) inttestGet(org.apache.hadoop.hbase.client.RegionInfo hri, int nrows) private voidtestInsert(org.apache.hadoop.hbase.client.RegionInfo hri, int nrows) voidvoidvoidvoidvoidvoid
-
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
-