public class TestHBaseReplicationEndpoint extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestHBaseReplicationEndpoint.DummyHBaseReplicationEndpoint |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint |
endpoint |
private static org.slf4j.Logger |
LOG |
private static HBaseTestingUtil |
UTIL |
Constructor and Description |
---|
TestHBaseReplicationEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testChooseSinks() |
void |
testChooseSinksLessThanRatioAvailable() |
void |
testReportBadSink() |
void |
testReportBadSinkDownToZeroSinks() |
void |
testReportBadSinkPastThreshold()
Once a SinkPeer has been reported as bad more than BAD_SINK_THRESHOLD times, it should not be
replicated to anymore.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtil UTIL
private org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint endpoint
public TestHBaseReplicationEndpoint()
public void testChooseSinks()
public void testChooseSinksLessThanRatioAvailable()
public void testReportBadSink()
public void testReportBadSinkPastThreshold()
public void testReportBadSinkDownToZeroSinks()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.