Package | Description |
---|---|
org.apache.hadoop.hbase.regionserver.wal |
Modifier and Type | Class and Description |
---|---|
class |
SequenceFileLogWriter
Implementation of
HLog.Writer that delegates to
SequenceFile.Writer. |
Modifier and Type | Method and Description |
---|---|
HLog.Writer |
HLogFileSystem.createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path hlogFile)
Creates writer for the given path.
|
protected HLog.Writer |
HLogSplitter.createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path logfile,
org.apache.hadoop.conf.Configuration conf)
Create a new
HLog.Writer for writing log splits. |
static HLog.Writer |
HLog.createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Get a writer for the WAL.
|
protected HLog.Writer |
HLog.createWriterInstance(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
This method allows subclasses to inject different writers without having to
extend other methods like rollWriter().
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.