public class HLogFileSystem extends HBaseFileSystem
HRegionFileSystem
class.Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
hdfsClientRetriesNumber
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
createNewFileOnFileSystem, createPathOnFileSystem, createPathWithPermsOnFileSystem, deleteDirFromFileSystem, deleteFileFromFileSystem, makeDirOnFileSystem, renameAndSetModifyTime, renameDirForFileSystem, setRetryCounts, sleepBeforeRetry
public HLogFileSystem(org.apache.hadoop.conf.Configuration conf)
public HLog.Writer createWriter(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path hlogFile) throws IOException
fs
- conf
- hlogFile
- IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.