Package | Description |
---|---|
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
org.apache.hadoop.hbase.regionserver.wal | |
org.apache.hadoop.hbase.replication.regionserver |
Modifier and Type | Method and Description |
---|---|
static Pair<AdminProtos.ReplicateWALEntryRequest,CellScanner> |
ReplicationProtbufUtil.buildReplicateWALEntryRequest(HLog.Entry[] entries)
Create a new ReplicateWALEntryRequest from a list of HLog entries
|
static void |
ReplicationProtbufUtil.replicateWALEntry(AdminProtos.AdminService.BlockingInterface admin,
HLog.Entry[] entries)
A helper to replicate a list of HLog entries using admin protocol.
|
Modifier and Type | Method and Description |
---|---|
HLog.Entry |
ReaderBase.next() |
HLog.Entry |
HLog.Reader.next() |
HLog.Entry |
ReaderBase.next(HLog.Entry reuse) |
HLog.Entry |
HLog.Reader.next(HLog.Entry reuse) |
Modifier and Type | Method and Description |
---|---|
void |
ProtobufLogWriter.append(HLog.Entry entry) |
void |
HLog.Writer.append(HLog.Entry entry) |
HLog.Entry |
ReaderBase.next(HLog.Entry reuse) |
HLog.Entry |
HLog.Reader.next(HLog.Entry reuse) |
protected abstract boolean |
ReaderBase.readNext(HLog.Entry e)
Read next entry.
|
protected boolean |
SequenceFileLogReader.readNext(HLog.Entry e) |
protected boolean |
ProtobufLogReader.readNext(HLog.Entry entry) |
Modifier and Type | Method and Description |
---|---|
void |
HLog.postAppend(List<HLog.Entry> entries)
For notification post append to the writer.
|
void |
WALEditsReplaySink.replayEntries(List<Pair<HRegionLocation,HLog.Entry>> entries)
Replay an array of actions of the same region directly into the newly assigned Region Server
|
Modifier and Type | Method and Description |
---|---|
HLog.Entry |
ReplicationHLogReaderManager.readNextAndSetPosition()
Get the next entry, returned and also added in the array
|
Modifier and Type | Method and Description |
---|---|
protected void |
ReplicationSource.removeNonReplicableEdits(HLog.Entry entry)
We only want KVs that are scoped other than local
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ReplicationSource.readAllEntriesToReplicateOrNextFile(boolean currentWALisBeingWrittenTo,
List<HLog.Entry> entries)
Read all the entries from the current log files and retain those
that need to be replicated.
|
protected void |
ReplicationSource.shipEdits(boolean currentWALisBeingWrittenTo,
List<HLog.Entry> entries)
Do the shipping logic
|
Copyright © 2014 The Apache Software Foundation. All rights reserved.