Package | Description |
---|---|
org.apache.hadoop.hbase.regionserver.wal | |
org.apache.hadoop.hbase.wal |
Modifier and Type | Class and Description |
---|---|
class |
ProtobufLogWriter
Writer for protobuf-based WAL.
|
class |
SecureProtobufLogWriter |
Modifier and Type | Method and Description |
---|---|
protected WALProvider.Writer |
FSHLog.createWriterInstance(org.apache.hadoop.fs.Path path)
This method allows subclasses to inject different writers without having to extend other
methods like rollWriter().
|
(package private) WALProvider.Writer |
FSHLog.getWriter() |
Modifier and Type | Method and Description |
---|---|
private void |
FSHLog.closeWriter(WALProvider.Writer writer,
org.apache.hadoop.fs.Path path,
boolean syncCloseCall) |
protected void |
FSHLog.doAppend(WALProvider.Writer writer,
FSWALEntry entry) |
protected void |
FSHLog.doReplaceWriter(org.apache.hadoop.fs.Path oldPath,
org.apache.hadoop.fs.Path newPath,
WALProvider.Writer nextWriter) |
(package private) void |
FSHLog.setWriter(WALProvider.Writer writer) |
Modifier and Type | Interface and Description |
---|---|
static interface |
FSHLogProvider.Writer |
Modifier and Type | Field and Description |
---|---|
(package private) WALProvider.Writer |
AbstractRecoveredEditsOutputSink.RecoveredEditsWriter.writer |
Modifier and Type | Method and Description |
---|---|
WALProvider.Writer |
WALFactory.createRecoveredEditsWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path)
Should be package-private, visible for recovery testing.
|
(package private) static WALProvider.Writer |
WALFactory.createRecoveredEditsWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration configuration)
If you already have a WALFactory, you should favor the instance method.
|
WALProvider.Writer |
WALFactory.createWALWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path)
Create a writer for the WAL.
|
static WALProvider.Writer |
WALFactory.createWALWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration configuration)
If you already have a WALFactory, you should favor the instance method.
|
protected WALProvider.Writer |
WALSplitter.createWriter(org.apache.hadoop.fs.Path logfile)
Create a new
WALProvider.Writer for writing log splits. |
Constructor and Description |
---|
RecoveredEditsWriter(byte[] encodedRegionName,
org.apache.hadoop.fs.Path path,
WALProvider.Writer writer,
long minLogSeqNum) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.