Class RecoveredReplicationSource
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.ReplicationSource
org.apache.hadoop.hbase.replication.regionserver.RecoveredReplicationSource
- All Implemented Interfaces:
ReplicationSourceInterface
Class that handles the recovered source of a replication stream, which is transfered from another
dead region server. This will be closed when all logs are pushed to peer cluster.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource
conf, DEFAULT_WAIT_ON_ENDPOINT_SECONDS, fs, logQueue, manager, queueId, queueSizePerGroup, queueStorage, replicationPeer, server, sourceRunning, startOffsets, WAIT_ON_ENDPOINT_SECONDS, walEntryFilter, workerThreads -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RecoveredReplicationSourceShippercreateNewShipper(String walGroupId, ReplicationSourceWALReader walReader) protected voidMethods inherited from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource
addHFileRefs, createNewShipper, enqueueLog, getCurrentPath, getPeer, getQueueId, getQueues, getReplicationEndpoint, getReplicationQueueStorage, getServer, getServerWALsBelongTo, getSourceManager, getSourceMetrics, getStats, getTotalReplicatedEdits, getWalEntryFilter, getWALFileLengthProvider, getWalGroupStatus, init, isSourceActive, isWorkerRunning, logPeerId, postShipEdits, removeWorker, startShipper, startup, terminate, terminate, terminate, tryThrottleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceInterface
getPeerId, isPeerEnabled, isRecovered, isSyncReplication, logPositionAndCleanOldLogs
-
Constructor Details
-
RecoveredReplicationSource
public RecoveredReplicationSource()
-
-
Method Details
-
startShippers
- Overrides:
startShippersin classReplicationSource
-
createNewShipper
protected RecoveredReplicationSourceShipper createNewShipper(String walGroupId, ReplicationSourceWALReader walReader) - Overrides:
createNewShipperin classReplicationSource
-