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,
org.apache.hadoop.hbase.regionserver.wal.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 | 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.
|
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. |
Copyright © 2007–2019 Cloudera. All rights reserved.