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 |
class |
WriterBase
Context used by our wal dictionary compressor.
|
Modifier and Type | Field and Description |
---|---|
(package private) WALProvider.Writer |
FSHLog.writer
Current log file.
|
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 |
---|---|
(package private) org.apache.hadoop.fs.Path |
FSHLog.replaceWriter(org.apache.hadoop.fs.Path oldPath,
org.apache.hadoop.fs.Path newPath,
WALProvider.Writer nextWriter,
org.apache.hadoop.fs.FSDataOutputStream nextHdfsOut)
Cleans up current writer closing it and then puts in place the passed in
nextWriter . |
Modifier and Type | Interface and Description |
---|---|
static interface |
DefaultWALProvider.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 |
---|
WALSplitter.WriterAndPath(org.apache.hadoop.fs.Path p,
WALProvider.Writer w) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.