Provides access to gauges and counters.
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.
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.
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 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.
Class that handles the recovered source of a replication stream, which is transfered from another dead region server.
Used by a
Used by a
The callable executed at RS side to refresh the peer config/state.
Calls replay on the passed edits for the given set of entries belonging to the region.
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.
Maintains a collection of peers to replicate to, and randomly selects a single peer to replicate to per set of data to replicate.
Wraps a replication region server sink to provide the ability to identify it.
Class that handles the source of a replication stream.
Comparator used to compare logs together based on their start time
This class is responsible to manage all the replication sources.
This thread reads entries from a queue and ships them.
Reads and filters WAL entries, groups the filtered entries into batches, and puts the batches onto a queue
Holds a batch of WAL entries to replicate, along with some statistics
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
Streaming access to WAL entries.
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.