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 |
---|---|
default void |
RegionObserver.postWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> ctx,
RegionInfo info,
WALKey logKey,
WALEdit logEdit)
Called after a
WALEdit replayed for this region. |
default void |
WALObserver.postWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx,
RegionInfo info,
WALKey logKey,
WALEdit logEdit)
Deprecated.
Since hbase-2.0.0. To be replaced with an alternative that does not expose
InterfaceAudience classes such as WALKey and WALEdit. Will be removed in
hbase-3.0.0.
|
default void |
RegionObserver.preWALAppend(ObserverContext<RegionCoprocessorEnvironment> ctx,
WALKey key,
WALEdit edit)
Called just before the WAL Entry is appended to the WAL.
|
default void |
RegionObserver.preWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> ctx,
RegionInfo info,
WALKey logKey,
WALEdit logEdit)
Called before a
WALEdit replayed for this region. |
default void |
WALObserver.preWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx,
RegionInfo info,
WALKey logKey,
WALEdit logEdit)
Deprecated.
Since hbase-2.0.0. To be replaced with an alternative that does not expose
InterfaceAudience classes such as WALKey and WALEdit. Will be removed in
hbase-3.0.0.
|
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.WALCellMapper.map(WALKey key,
WALEdit value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
WALPlayer.WALKeyValueMapper.map(WALKey key,
WALEdit value,
org.apache.hadoop.mapreduce.Mapper.Context context)
Deprecated.
|
void |
WALPlayer.WALMapper.map(WALKey key,
WALEdit value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
RegionCoprocessorHost.postWALRestore(RegionInfo info,
WALKey logKey,
WALEdit logEdit)
Deprecated.
Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced with
something that doesn't expose IntefaceAudience.Private classes.
|
void |
RegionCoprocessorHost.preWALAppend(WALKey key,
WALEdit edit) |
boolean |
RegionCoprocessorHost.preWALRestore(RegionInfo info,
WALKey logKey,
WALEdit logEdit)
Deprecated.
Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced with
something that doesn't expose IntefaceAudience.Private classes.
|
Modifier and Type | Method and Description |
---|---|
void |
MetricsWAL.postAppend(long size,
long time,
WALKey logkey,
WALEdit logEdit) |
default void |
WALActionsListener.postAppend(long entryLen,
long elapsedTimeMillis,
WALKey logKey,
WALEdit logEdit)
For notification post append to the writer.
|
void |
WALCoprocessorHost.postWALWrite(RegionInfo info,
WALKey logKey,
WALEdit logEdit) |
void |
WALCoprocessorHost.preWALWrite(RegionInfo info,
WALKey logKey,
WALEdit logEdit) |
default void |
WALActionsListener.visitLogEntryBeforeWrite(RegionInfo info,
WALKey logKey,
WALEdit logEdit)
Called before each write.
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
ReplicationSourceWALActionListener.scopeWALEdits(WALKey logKey,
WALEdit logEdit,
org.apache.hadoop.conf.Configuration conf)
Utility method used to set the correct scopes on each log key.
|
void |
ReplicationSourceWALActionListener.visitLogEntryBeforeWrite(RegionInfo info,
WALKey logKey,
WALEdit logEdit) |
Modifier and Type | Class and Description |
---|---|
class |
WALKeyImpl
Default implementation of Key for an Entry in the WAL.
|
Modifier and Type | Method and Description |
---|---|
int |
WALKeyImpl.compareTo(WALKey o) |
Modifier and Type | Method and Description |
---|---|
static List<WALSplitUtil.MutationReplay> |
WALSplitUtil.getMutationsFromWALEntry(org.apache.hadoop.hbase.shaded.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 |
---|
WALKeyImpl(WALKey key,
List<UUID> clusterIds,
MultiVersionConcurrencyControl mvcc,
NavigableMap<byte[],Integer> replicationScopes,
Map<String,byte[]> extendedAttributes)
Copy constructor that takes in an existing WALKey, the extra WALKeyImpl fields that the parent
interface is missing, plus some extended attributes.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.