Package | Description |
---|---|
org.apache.hadoop.hbase.replication.regionserver |
Modifier and Type | Class and Description |
---|---|
class |
RecoveredReplicationSource
Class that handles the recovered source of a replication stream, which is transfered from another
dead region server.
|
class |
ReplicationSource
Class that handles the source of a replication stream.
|
Modifier and Type | Field and Description |
---|---|
private List<ReplicationSourceInterface> |
ReplicationSourceManager.oldsources |
private ConcurrentMap<String,ReplicationSourceInterface> |
ReplicationSourceManager.sources |
Modifier and Type | Method and Description |
---|---|
(package private) static ReplicationSourceInterface |
ReplicationSourceFactory.create(org.apache.hadoop.conf.Configuration conf,
ReplicationQueueId queueId) |
private ReplicationSourceInterface |
ReplicationSourceManager.createRefreshedSource(ReplicationQueueId queueId,
ReplicationPeer peer) |
private ReplicationSourceInterface |
ReplicationSourceManager.createSource(ReplicationQueueData queueData,
ReplicationPeer replicationPeer) |
ReplicationSourceInterface |
ReplicationSourceManager.getSource(String peerId)
Get the normal source for a given peer
|
ReplicationSourceInterface |
ReplicationSourceInterface.startup()
Start the replication
|
ReplicationSourceInterface |
ReplicationSource.startup() |
Modifier and Type | Method and Description |
---|---|
List<ReplicationSourceInterface> |
ReplicationSourceManager.getOldSources()
Get a list of all the recovered sources of this rs
|
List<ReplicationSourceInterface> |
ReplicationSourceManager.getSources()
Get a list of all the normal sources of this rs
|
Modifier and Type | Method and Description |
---|---|
private void |
ReplicationSourceManager.addRecoveredSource(ReplicationSourceInterface src,
ReplicationPeerImpl oldPeer,
ReplicationQueueId claimedQueueId,
PriorityQueue<org.apache.hadoop.fs.Path> walFiles) |
private void |
ReplicationSourceManager.cleanOldLogs(NavigableSet<String> wals,
ReplicationSourceInterface source) |
(package private) void |
ReplicationSourceManager.cleanOldLogs(String log,
boolean inclusive,
ReplicationSourceInterface source)
Cleans a log file and all older logs from replication queue.
|
(package private) void |
ReplicationSourceManager.finishRecoveredSource(ReplicationSourceInterface src) |
void |
ReplicationSourceManager.logPositionAndCleanOldLogs(ReplicationSourceInterface source,
WALEntryBatch entryBatch)
This method will log the current position to storage.
|
private boolean |
ReplicationSourceManager.removeRecoveredSource(ReplicationSourceInterface src)
Clear the metrics and related replication queue of the specified old source
|
(package private) void |
ReplicationSourceManager.removeSource(ReplicationSourceInterface src)
Clear the metrics and related replication queue of the specified old source
|
Modifier and Type | Method and Description |
---|---|
void |
ReplicationLoad.buildReplicationLoad(List<ReplicationSourceInterface> sources,
MetricsSink sinkMetrics)
buildReplicationLoad
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.