Class TestReplicationSinkManager
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.TestReplicationSinkManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classManage the 'getRegionServers' for the tests below. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final Stringprivate org.apache.hadoop.hbase.replication.HBaseReplicationEndpointprivate org.apache.hadoop.hbase.replication.regionserver.ReplicationSinkManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidOnce a SinkPeer has been reported as bad more than BAD_SINK_THRESHOLD times, it should not be replicated to anymore.
-
Field Details
-
CLASS_RULE
-
PEER_CLUSTER_ID
- See Also:
-
sinkManager
-
replicationEndpoint
-
-
Constructor Details
-
TestReplicationSinkManager
public TestReplicationSinkManager()
-
-
Method Details
-
setUp
-
testChooseSinks
-
testChooseSinks_LessThanRatioAvailable
-
testReportBadSink
-
testReportBadSink_PastThreshold
Once a SinkPeer has been reported as bad more than BAD_SINK_THRESHOLD times, it should not be replicated to anymore. -
testReportBadSink_DownToZeroSinks
-