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
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier 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.HRegionInfo
private static org.apache.hadoop.hbase.HRegionInfo
private static final HBaseTestingUtility
private static final int
private static final byte[]
private static org.apache.hadoop.hbase.regionserver.HRegionServer
private static org.apache.hadoop.hbase.regionserver.HRegionServer
private static org.apache.hadoop.hbase.client.Table
private static org.apache.hadoop.hbase.TableName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
after()
static void
void
before()
static void
private void
replicateUsingCallable
(org.apache.hadoop.hbase.client.ClusterConnection connection, Queue<org.apache.hadoop.hbase.wal.WAL.Entry> entries) void
void
void
-
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:
IOException
RuntimeException
-
testReplayCallableWithRegionMove
- Throws:
Exception
-
testRegionReplicaReplicationEndpointReplicate
- Throws:
Exception
-