Package org.apache.hadoop.hbase.client
Class TestReplicaWithCluster
java.lang.Object
org.apache.hadoop.hbase.client.TestReplicaWithCluster
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis copro is used to slow down the primary meta region scan a bitstatic classThis copro is used to simulate region server down exception for Get and Scanstatic classThis copro is used to synchronize the tests. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private static final HBaseTestingUtilityprivate static HBaseTestingUtilityprivate static final org.slf4j.Loggerprivate static final intorg.junit.rules.TestNameprivate static final intprivate static final intprivate static final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
CLASS_RULE
-
LOG
-
NB_SERVERS
- See Also:
-
row
-
HTU
-
HTU2
-
f
-
REFRESH_PERIOD
- See Also:
-
META_SCAN_TIMEOUT_IN_MILLISEC
- See Also:
-
name
-
-
Constructor Details
-
TestReplicaWithCluster
public TestReplicaWithCluster()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
testCreateDeleteTable
- Throws:
IOException
-
testChangeTable
- Throws:
Exception
-
testReplicaAndReplication
- Throws:
Exception
-
testBulkLoad
- Throws:
IOException
-
testReplicaGetWithPrimaryDown
- Throws:
IOException
-
testReplicaScanWithPrimaryDown
- Throws:
IOException
-
testReplicaGetWithAsyncRpcClientImpl
- Throws:
IOException
-
testGetRegionLocationFromPrimaryMetaRegion
- Throws:
IOExceptionInterruptedException
-
testReplicaGetWithPrimaryAndMetaDown
- Throws:
IOExceptionInterruptedException
-