Class TestHBaseReplicationEndpoint.DummyHBaseReplicationEndpoint
java.lang.Object
org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService
org.apache.hadoop.hbase.replication.BaseReplicationEndpoint
org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint
org.apache.hadoop.hbase.replication.TestHBaseReplicationEndpoint.DummyHBaseReplicationEndpoint
- All Implemented Interfaces:
org.apache.hadoop.hbase.Abortable,org.apache.hadoop.hbase.replication.ReplicationEndpoint,org.apache.hadoop.hbase.replication.ReplicationPeerConfigListener,org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service
- Enclosing class:
- TestHBaseReplicationEndpoint
private static class TestHBaseReplicationEndpoint.DummyHBaseReplicationEndpoint
extends org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint
org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint.SinkPeerNested classes/interfaces inherited from interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
org.apache.hadoop.hbase.replication.ReplicationEndpoint.Context, org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContextNested classes/interfaces inherited from interface org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service
org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service.Listener, org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service.State -
Field Summary
FieldsFields inherited from class org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint
conf, DEFAULT_BAD_SINK_THRESHOLD, DEFAULT_REPLICATION_SOURCE_RATIOFields inherited from class org.apache.hadoop.hbase.replication.BaseReplicationEndpoint
ctx, REPLICATION_WALENTRYFILTER_CONFIG_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.AsyncClusterConnectioncreateConnection(URI clusterURI, org.apache.hadoop.conf.Configuration conf) protected Collection<org.apache.hadoop.hbase.ServerName>booleanreplicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext) voidsetRegionServers(List<org.apache.hadoop.hbase.ServerName> regionServers) Methods inherited from class org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint
abort, chooseSinks, doStart, doStop, getNumSinks, getPeerUUID, getReplicationSink, getSinkServers, init, isAborted, reportBadSink, reportSinkSuccess, start, stopMethods inherited from class org.apache.hadoop.hbase.replication.BaseReplicationEndpoint
canReplicateToSameCluster, getNamespaceTableCfWALEntryFilter, getScopeWALEntryFilter, getWALEntryfilter, isStarting, peerConfigUpdatedMethods inherited from class org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.Abortable
abortMethods inherited from interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning
-
Field Details
-
regionServers
List<org.apache.hadoop.hbase.ServerName> regionServers
-
-
Constructor Details
-
DummyHBaseReplicationEndpoint
private DummyHBaseReplicationEndpoint()
-
-
Method Details
-
setRegionServers
-
fetchPeerAddresses
- Overrides:
fetchPeerAddressesin classorg.apache.hadoop.hbase.replication.HBaseReplicationEndpoint
-
replicate
public boolean replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext) -
createConnection
public org.apache.hadoop.hbase.client.AsyncClusterConnection createConnection(URI clusterURI, org.apache.hadoop.conf.Configuration conf) throws IOException - Overrides:
createConnectionin classorg.apache.hadoop.hbase.replication.HBaseReplicationEndpoint- Throws:
IOException
-