public class TestReplicationSinkManager extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestReplicationSinkManager.SetServersHBaseReplicationEndpoint
Manage the 'getRegionServers' for the tests below.
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static String |
PEER_CLUSTER_ID |
private org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint |
replicationEndpoint |
private org.apache.hadoop.hbase.replication.regionserver.ReplicationSinkManager |
sinkManager |
Constructor and Description |
---|
TestReplicationSinkManager() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testChooseSinks_LessThanRatioAvailable() |
void |
testChooseSinks() |
void |
testReportBadSink_DownToZeroSinks() |
void |
testReportBadSink_PastThreshold()
Once a SinkPeer has been reported as bad more than BAD_SINK_THRESHOLD times, it should not be
replicated to anymore.
|
void |
testReportBadSink() |
public static final HBaseClassTestRule CLASS_RULE
private static final String PEER_CLUSTER_ID
private org.apache.hadoop.hbase.replication.regionserver.ReplicationSinkManager sinkManager
private org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint replicationEndpoint
public TestReplicationSinkManager()
public void setUp()
public void testChooseSinks()
public void testChooseSinks_LessThanRatioAvailable()
public void testReportBadSink()
public void testReportBadSink_PastThreshold()
public void testReportBadSink_DownToZeroSinks()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.