| 程序包 | 说明 |
|---|---|
| org.apache.hadoop.hbase.protobuf | |
| org.apache.hadoop.hbase.regionserver.wal | |
| org.apache.hadoop.hbase.replication |
Multi Cluster Replication
Cluster replication documentation has been moved to the link:http://hbase.apache.org/book.html#_cluster_replication[Cluster Replication] section of the link:http://hbase.apache.org/book.html[Apache HBase Reference Guide].
|
| org.apache.hadoop.hbase.replication.regionserver | |
| org.apache.hadoop.hbase.wal |
| 限定符和类型 | 方法和说明 |
|---|---|
static Pair<org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ReplicateWALEntryRequest,CellScanner> |
ReplicationProtbufUtil.buildReplicateWALEntryRequest(WAL.Entry[] entries)
Create a new ReplicateWALEntryRequest from a list of WAL entries
|
static Pair<org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ReplicateWALEntryRequest,CellScanner> |
ReplicationProtbufUtil.buildReplicateWALEntryRequest(WAL.Entry[] entries,
byte[] encodedRegionName,
String replicationClusterId,
org.apache.hadoop.fs.Path sourceBaseNamespaceDir,
org.apache.hadoop.fs.Path sourceHFileArchiveDir)
Create a new ReplicateWALEntryRequest from a list of WAL entries
|
static void |
ReplicationProtbufUtil.replicateWALEntry(org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.AdminService.BlockingInterface admin,
WAL.Entry[] entries,
String replicationClusterId,
org.apache.hadoop.fs.Path sourceBaseNamespaceDir,
org.apache.hadoop.fs.Path sourceHFileArchiveDir)
A helper to replicate a list of WAL entries using admin protocol.
|
| 限定符和类型 | 方法和说明 |
|---|---|
WAL.Entry |
ReaderBase.next() |
WAL.Entry |
ReaderBase.next(WAL.Entry reuse) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ProtobufLogWriter.append(WAL.Entry entry) |
void |
AsyncProtobufLogWriter.append(WAL.Entry entry) |
WAL.Entry |
ReaderBase.next(WAL.Entry reuse) |
protected boolean |
ProtobufLogReader.readNext(WAL.Entry entry) |
protected abstract boolean |
ReaderBase.readNext(WAL.Entry e)
Read next entry.
|
| 限定符和类型 | 方法和说明 |
|---|---|
WAL.Entry |
ClusterMarkingEntryFilter.filter(WAL.Entry entry) |
WAL.Entry |
ScopeWALEntryFilter.filter(WAL.Entry entry) |
WAL.Entry |
ChainWALEntryFilter.filter(WAL.Entry entry) |
WAL.Entry |
WALEntryFilter.filter(WAL.Entry entry)
Applies the filter, possibly returning a different Entry instance.
|
WAL.Entry |
NamespaceTableCfWALEntryFilter.filter(WAL.Entry entry) |
WAL.Entry |
SystemTableWALEntryFilter.filter(WAL.Entry entry) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<WAL.Entry> |
ReplicationEndpoint.ReplicateContext.getEntries() |
| 限定符和类型 | 方法和说明 |
|---|---|
WAL.Entry |
ClusterMarkingEntryFilter.filter(WAL.Entry entry) |
WAL.Entry |
ScopeWALEntryFilter.filter(WAL.Entry entry) |
WAL.Entry |
ChainWALEntryFilter.filter(WAL.Entry entry) |
WAL.Entry |
WALEntryFilter.filter(WAL.Entry entry)
Applies the filter, possibly returning a different Entry instance.
|
WAL.Entry |
NamespaceTableCfWALEntryFilter.filter(WAL.Entry entry) |
WAL.Entry |
SystemTableWALEntryFilter.filter(WAL.Entry entry) |
Cell |
WALCellFilter.filterCell(WAL.Entry entry,
Cell cell)
Applies the filter, possibly returning a different Cell instance.
|
Cell |
ScopeWALEntryFilter.filterCell(WAL.Entry entry,
Cell cell) |
Cell |
NamespaceTableCfWALEntryFilter.filterCell(WAL.Entry entry,
Cell cell) |
| 限定符和类型 | 方法和说明 |
|---|---|
ReplicationEndpoint.ReplicateContext |
ReplicationEndpoint.ReplicateContext.setEntries(List<WAL.Entry> entries) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Callable<Integer> |
HBaseInterClusterReplicationEndpoint.createReplicator(List<WAL.Entry> entries,
int batchIndex) |
void |
ReplicationSourceInterface.postShipEdits(List<WAL.Entry> entries,
int batchSize)
Call this after the shipper thread ship some entries to peer cluster.
|
void |
ReplicationSource.postShipEdits(List<WAL.Entry> entries,
int batchSize) |
protected int |
HBaseInterClusterReplicationEndpoint.replicateEntries(List<WAL.Entry> entries,
int batchIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
WAL.Entry |
WAL.Reader.next() |
WAL.Entry |
WAL.Reader.next(WAL.Entry reuse) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<WAL.Entry> |
WALSplitter.RegionEntryBuffer.getEntryBuffer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
WALProvider.Writer.append(WAL.Entry entry) |
void |
WALProvider.AsyncWriter.append(WAL.Entry entry) |
void |
WALSplitter.EntryBuffers.appendEntry(WAL.Entry entry)
Append a log entry into the corresponding region buffer.
|
abstract boolean |
WALSplitter.OutputSink.keepRegionEvent(WAL.Entry entry)
Some WALEdit's contain only KV's for account on what happened to a region.
|
WAL.Entry |
WAL.Reader.next(WAL.Entry reuse) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.