Provides access to gauges and counters.
Get notification for replication peer events.
A handler for modifying replication peer in peer procedures.
Interface that defines a replication source
Interface that defines how a region server in peer cluster will get source cluster file system configurations.
Get the information for a sync replication peer.
Implementations are installed on a Replication Sink called from inside ReplicationSink#replicateEntries to filter replicated WALEntries based off WALEntry attributes.
Used by replication to prevent replicating unacked log entries.
ReplicationSource that reads catalog WAL files -- e.g.
The 'peer' used internally by Catalog Region Replicas Replication Source.
This will load all the xml configuration files for the source cluster replication ID from user configured replication configuration directory.
Provides information about the existing states of replication, replication peers and queues.
It is used for replicating HFile entries.
Hadoop2 implementation of MetricsReplicationSource.
This is the metric source for table level replication metrics.
This class is for maintaining the various replication statistics for a sink and publishing them through the metrics interfaces.
This class is for maintaining the various replication statistics for a source and publishing them through the metrics interfaces.
Noop queue storage -- does nothing.
Class that handles the recovered source of a replication stream, which is transfered from another dead region server.
Used by a
The callable executed at RS side to refresh the peer config/state.
Check whether we need to reject the replication request from source cluster.
Check whether we need to reject the request from client.
This callable executed at RS side to replay sync replication wal.
Gateway to Replication.
This class is used for exporting some of the info from replication metrics
An Observer to add HFile References to replication queue.
This class is responsible for replicating the edits coming from another cluster.
Class that handles the source of a replication stream.
This class is responsible to manage all the replication sources.
This thread reads entries from a queue and ships them.
Used to receive new wals.
Reads and filters WAL entries, groups the filtered entries into batches, and puts the batches onto a queue
In a scenario of Replication based Disaster/Recovery, when hbase Master-Cluster crashes, this tool is used to sync-up the delta from Master to Slave using the info from ZooKeeper.
Per-peer per-node throttling controller for replication: enabled if bandwidth > 0, a cycle = 100ms, by throttling we guarantee data pushed to peer within each cycle won't exceed 'bandwidth' bytes
Helper class to determine whether we can push a given WAL entry without breaking the replication order.
WAL reader for a serial replication peer.
The callable executed at RS side to switch rpc throttle state.
Used to map region to sync replication peer id.
Holds a batch of WAL entries to replicate, along with some statistics
Streaming access to WAL entries.
This exception is thrown when a replication source is terminated and source threads got interrupted.
This exception should be thrown from any wal filter when the filter is expected to recover from the failures and it wants the replication to backup till it fails.
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.