Package | Description |
---|---|
org.apache.hadoop.hbase.regionserver.wal | |
org.apache.hadoop.hbase.replication.regionserver | |
org.apache.hadoop.hbase.wal |
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 | Field and Description |
---|---|
private WALFileLengthProvider |
ReplicationSourceManager.walFileLengthProvider |
private WALFileLengthProvider |
WALEntryStream.walFileLengthProvider |
private WALFileLengthProvider |
ReplicationSource.walFileLengthProvider |
Modifier and Type | Method and Description |
---|---|
WALFileLengthProvider |
ReplicationSourceInterface.getWALFileLengthProvider() |
WALFileLengthProvider |
ReplicationSource.getWALFileLengthProvider() |
Modifier and Type | Method and Description |
---|---|
private ReplicationSourceInterface |
ReplicationSourceManager.getReplicationSource(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
ReplicationSourceManager manager,
ReplicationQueues replicationQueues,
ReplicationPeers replicationPeers,
Server server,
String peerId,
UUID clusterId,
ReplicationPeerConfig peerConfig,
ReplicationPeer replicationPeer,
WALFileLengthProvider walFileLengthProvider)
Factory method to create a replication 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 |
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 |
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
|
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
|
WALEntryStream(PriorityBlockingQueue<org.apache.hadoop.fs.Path> logQueue,
org.apache.hadoop.conf.Configuration conf,
long startPosition,
WALFileLengthProvider walFileLengthProvider,
ServerName serverName,
MetricsSource metrics)
Create an entry stream over the given queue at the given start position
|
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 |
---|---|
private static class |
DisabledWALProvider.DisabledWAL |
Modifier and Type | Method and Description |
---|---|
default WALFileLengthProvider |
WALProvider.getWALFileLengthProvider() |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.