Package org.apache.hadoop.hbase.replication.regionserver
package org.apache.hadoop.hbase.replication.regionserver
-
ClassDescriptionThis 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.A
ReplicationEndpoint
implementation for replicating to another HBase cluster.It is used for replicating HFile entries.Provides access to gauges and counters.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.Get notification for replication peer events.A handler for modifying replication peer in peer procedures.Class that handles the recovered source of a replication stream, which is transfered from another dead region server.Used by aRecoveredReplicationSource
.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 metricsThis chore is responsible to create replication marker rows with special WALEdit with family asWALEdit.METAFAMILY
and column qualifier asWALEdit.REPLICATION_MARKER
and empty value.An Observer to add HFile References to replication queue.This exception is thrown when a replication source is terminated and source threads got interrupted.This class is responsible for replicating the edits coming from another cluster.Class that handles the source of a replication stream.Constructs aReplicationSourceInterface
Note, not used to create specialized ReplicationSourcesInterface that defines a replication sourceThis 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 queueIn 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' bytesHelper class to determine whether we can push a given WAL entry without breaking the replication order.WAL reader for a serial replication peer.Interface that defines how a region server in peer cluster will get source cluster file system configurations.The callable executed at RS side to switch rpc throttle state.Get the information for a sync replication peer.Used to map region to sync replication peer id.Holds a batch of WAL entries to replicate, along with some statisticsThis 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.Implementations are installed on a Replication Sink called from inside ReplicationSink#replicateEntries to filter replicated WALEntries based off WALEntry attributes.Streaming access to WAL entries.Used by replication to prevent replicating unacked log entries.