| Modifier and Type | Method and Description |
|---|---|
void |
ReplicationService.initialize(Server rs,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path logdir,
org.apache.hadoop.fs.Path oldLogDir,
WALFileLengthProvider walFileLengthProvider)
Initializes the replication service object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFSWAL<W extends WALProvider.WriterBase>
Implementation of
WAL to go against FileSystem; i.e. |
class |
AsyncFSWAL
An asynchronous implementation of FSWAL.
|
class |
FSHLog
The default implementation of FSWAL.
|
| Modifier and Type | Method and Description |
|---|---|
WALFileLengthProvider |
ReplicationSource.getWALFileLengthProvider() |
WALFileLengthProvider |
ReplicationSourceInterface.getWALFileLengthProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
ReplicationSource.init(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
ReplicationSourceManager manager,
ReplicationQueues replicationQueues,
ReplicationPeers replicationPeers,
Server server,
String peerClusterZnode,
UUID clusterId,
ReplicationEndpoint replicationEndpoint,
WALFileLengthProvider walFileLengthProvider,
MetricsSource metrics)
Instantiation method used by region servers
|
void |
ReplicationSourceInterface.init(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
ReplicationSourceManager manager,
ReplicationQueues replicationQueues,
ReplicationPeers replicationPeers,
Server server,
String peerClusterZnode,
UUID clusterId,
ReplicationEndpoint replicationEndpoint,
WALFileLengthProvider walFileLengthProvider,
MetricsSource metrics)
Initializer for the source
|
void |
RecoveredReplicationSource.init(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
ReplicationSourceManager manager,
ReplicationQueues replicationQueues,
ReplicationPeers replicationPeers,
Server server,
String peerClusterZnode,
UUID clusterId,
ReplicationEndpoint replicationEndpoint,
WALFileLengthProvider walFileLengthProvider,
MetricsSource metrics) |
void |
Replication.initialize(Server server,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path logDir,
org.apache.hadoop.fs.Path oldLogDir,
WALFileLengthProvider walFileLengthProvider) |
| Constructor and Description |
|---|
ReplicationSourceManager(ReplicationQueues replicationQueues,
ReplicationPeers replicationPeers,
ReplicationTracker replicationTracker,
org.apache.hadoop.conf.Configuration conf,
Server server,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path logDir,
org.apache.hadoop.fs.Path oldLogDir,
UUID clusterId,
WALFileLengthProvider walFileLengthProvider)
Creates a replication manager and sets the watch on all the other registered region servers
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
WAL
A Write Ahead Log (WAL) provides service for reading, writing waledits.
|
| Modifier and Type | Class and Description |
|---|---|
class |
WALFactory
Entry point for users of the Write Ahead Log.
|
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.