Package | Description |
---|---|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.regionserver.wal | |
org.apache.hadoop.hbase.replication.regionserver | |
org.apache.hadoop.hbase.wal |
Modifier and Type | Method and Description |
---|---|
void |
RegionObserver.postWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> ctx,
HRegionInfo info,
WALKey logKey,
WALEdit logEdit)
Called after a
WALEdit
replayed for this region. |
void |
BaseRegionObserver.postWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> env,
HRegionInfo info,
WALKey logKey,
WALEdit logEdit)
Implementers should override this version of the method and leave the deprecated one as-is.
|
void |
WALObserver.postWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx,
HRegionInfo info,
WALKey logKey,
WALEdit logEdit)
Called after a
WALEdit
is writen to WAL. |
void |
BaseWALObserver.postWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx,
HRegionInfo info,
WALKey logKey,
WALEdit logEdit)
Implementers should override this method and leave the deprecated version as-is.
|
void |
RegionObserver.preWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> ctx,
HRegionInfo info,
WALKey logKey,
WALEdit logEdit)
Called before a
WALEdit
replayed for this region. |
void |
BaseRegionObserver.preWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> env,
HRegionInfo info,
WALKey logKey,
WALEdit logEdit)
Implementers should override this version of the method and leave the deprecated one as-is.
|
boolean |
WALObserver.preWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx,
HRegionInfo info,
WALKey logKey,
WALEdit logEdit)
Called before a
WALEdit
is writen to WAL. |
boolean |
BaseWALObserver.preWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx,
HRegionInfo info,
WALKey logKey,
WALEdit logEdit)
Implementers should override this method and leave the deprecated version as-is.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
WALInputFormat.WALRecordReader<K extends WALKey>
RecordReader for an WAL file. |
Modifier and Type | Method and Description |
---|---|
WALKey |
WALInputFormat.WALKeyRecordReader.getCurrentKey() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.RecordReader<WALKey,WALEdit> |
WALInputFormat.createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
Modifier and Type | Method and Description |
---|---|
void |
WALPlayer.WALKeyValueMapper.map(WALKey key,
WALEdit value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
WALPlayer.WALMapper.map(WALKey key,
WALEdit value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
Modifier and Type | Method and Description |
---|---|
private WALKey |
HRegion.appendEmptyEdit(WAL wal)
Append a faked WALEdit in order to get a long sequence number and wal syncer will just ignore
the WALEdit append later.
|
Modifier and Type | Method and Description |
---|---|
void |
RegionCoprocessorHost.postWALRestore(HRegionInfo info,
WALKey logKey,
WALEdit logEdit) |
boolean |
RegionCoprocessorHost.preWALRestore(HRegionInfo info,
WALKey logKey,
WALEdit logEdit) |
Modifier and Type | Class and Description |
---|---|
class |
HLogKey
Deprecated.
use WALKey
|
class |
ReplayHLogKey
An HLogKey specific to WalEdits coming from replay.
|
Modifier and Type | Method and Description |
---|---|
long |
FSHLog.append(HTableDescriptor htd,
HRegionInfo hri,
WALKey key,
WALEdit edits,
boolean inMemstore) |
void |
WALCoprocessorHost.postWALWrite(HRegionInfo info,
WALKey logKey,
WALEdit logEdit) |
boolean |
WALCoprocessorHost.preWALWrite(HRegionInfo info,
WALKey logKey,
WALEdit logEdit) |
void |
WALActionsListener.visitLogEntryBeforeWrite(HRegionInfo info,
WALKey logKey,
WALEdit logEdit)
Called before each write.
|
void |
WALActionsListener.Base.visitLogEntryBeforeWrite(HRegionInfo info,
WALKey logKey,
WALEdit logEdit) |
void |
WALActionsListener.visitLogEntryBeforeWrite(HTableDescriptor htd,
WALKey logKey,
WALEdit logEdit) |
void |
WALActionsListener.Base.visitLogEntryBeforeWrite(HTableDescriptor htd,
WALKey logKey,
WALEdit logEdit) |
Constructor and Description |
---|
FSWALEntry(long sequence,
WALKey key,
WALEdit edit,
HTableDescriptor htd,
HRegionInfo hri,
boolean inMemstore) |
Modifier and Type | Method and Description |
---|---|
static void |
Replication.scopeWALEdits(HTableDescriptor htd,
WALKey logKey,
WALEdit logEdit)
Utility method used to set the correct scopes on each log key.
|
void |
Replication.visitLogEntryBeforeWrite(HTableDescriptor htd,
WALKey logKey,
WALEdit logEdit) |
Modifier and Type | Field and Description |
---|---|
private WALKey |
WAL.Entry.key |
Modifier and Type | Method and Description |
---|---|
WALKey |
WAL.Entry.getKey()
Gets the key
|
Modifier and Type | Method and Description |
---|---|
long |
WAL.append(HTableDescriptor htd,
HRegionInfo info,
WALKey key,
WALEdit edits,
boolean inMemstore)
Append a set of edits to the WAL.
|
long |
DisabledWALProvider.DisabledWAL.append(HTableDescriptor htd,
HRegionInfo info,
WALKey key,
WALEdit edits,
boolean inMemstore) |
int |
WALKey.compareTo(WALKey o) |
Modifier and Type | Method and Description |
---|---|
static List<WALSplitter.MutationReplay> |
WALSplitter.getMutationsFromWALEntry(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry entry,
CellScanner cells,
Pair<WALKey,WALEdit> logEntry,
Durability durability)
This function is used to construct mutations from a WALEntry.
|
Constructor and Description |
---|
WAL.Entry(WALKey key,
WALEdit edit)
Constructor for both params
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.