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().
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Interface and Description |
---|---|
static interface |
FSHLogProvider.Writer |
Modifier and Type | Field and Description |
---|---|
(package private) WALProvider.Writer |
WALSplitter.WriterAndPath.w |
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 |
---|
WriterAndPath(org.apache.hadoop.fs.Path p,
WALProvider.Writer w,
long minLogSeqNum) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.