Class TestRegionReplicaReplicationEndpointNoMaster
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Tests RegionReplicaReplicationEndpoint. Unlike TestRegionReplicaReplicationEndpoint this class
contains lower level tests using callables.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRule(package private) static ConcurrentLinkedQueue<org.apache.hadoop.hbase.wal.WAL.Entry>private static final byte[]private static org.apache.hadoop.hbase.HRegionInfoprivate static org.apache.hadoop.hbase.HRegionInfoprivate static final HBaseTestingUtilityprivate static final intprivate static final byte[]private static org.apache.hadoop.hbase.regionserver.HRegionServerprivate static org.apache.hadoop.hbase.regionserver.HRegionServerprivate static org.apache.hadoop.hbase.client.Tableprivate static org.apache.hadoop.hbase.TableName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()static voidvoidbefore()static voidprivate voidreplicateUsingCallable(org.apache.hadoop.hbase.client.ClusterConnection connection, Queue<org.apache.hadoop.hbase.wal.WAL.Entry> entries) voidvoidvoid
-
Field Details
-
CLASS_RULE
-
NB_SERVERS
- See Also:
-
tableName
-
table
-
row
-
rs0
-
rs1
-
hriPrimary
-
hriSecondary
-
HTU
-
f
-
entries
-
-
Constructor Details
-
TestRegionReplicaReplicationEndpointNoMaster
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
before
- Throws:
Exception
-
after
- Throws:
Exception
-
testReplayCallable
- Throws:
Exception
-
replicateUsingCallable
private void replicateUsingCallable(org.apache.hadoop.hbase.client.ClusterConnection connection, Queue<org.apache.hadoop.hbase.wal.WAL.Entry> entries) throws IOException, RuntimeException - Throws:
IOExceptionRuntimeException
-
testReplayCallableWithRegionMove
- Throws:
Exception
-
testRegionReplicaReplicationEndpointReplicate
- Throws:
Exception
-