org.apache.hadoop.hbase.regionserver.wal
Class HLogFileSystem
java.lang.Object
org.apache.hadoop.hbase.HBaseFileSystem
org.apache.hadoop.hbase.regionserver.wal.HLogFileSystem
public class HLogFileSystem
- extends HBaseFileSystem
Acts as an abstraction between the HLog and the underlying filesystem. This is analogous to the
HRegionFileSystem
class.
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
Constructor Summary |
HLogFileSystem(org.apache.hadoop.conf.Configuration conf)
In order to handle NN connectivity hiccups, one need to retry non-idempotent operation at the
client level. |
Method Summary |
HLog.Writer |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
HLogFileSystem
public HLogFileSystem(org.apache.hadoop.conf.Configuration conf)
- In order to handle NN connectivity hiccups, one need to retry non-idempotent operation at the
client level.
createWriter
public HLog.Writer createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path hlogFile)
throws IOException
- Creates writer for the given path.
- Parameters:
fs
- conf
- hlogFile
-
- Returns:
- an init'ed writer for the given path.
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.