public class FaultyFSLog
extends FSHLog
| Modifier and Type | Class and Description |
|---|---|
static class |
FaultyFSLog.FailureType |
| Constructor and Description |
|---|
FaultyFSLog(FileSystem fs,
Path rootDir,
String logName,
Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
long |
append(HTableDescriptor htd,
HRegionInfo info,
WALKey key,
WALEdit edits,
AtomicLong sequenceId,
boolean isInMemstore,
List<Cell> cells) |
void |
setFailureType(FaultyFSLog.FailureType fType) |
void |
sync(long txid) |
public FaultyFSLog(FileSystem fs,
Path rootDir,
String logName,
Configuration conf)
throws IOException
IOExceptionpublic void setFailureType(FaultyFSLog.FailureType fType)
public void sync(long txid)
throws IOException
IOExceptionpublic long append(HTableDescriptor htd,
HRegionInfo info,
WALKey key,
WALEdit edits,
AtomicLong sequenceId,
boolean isInMemstore,
List<Cell> cells)
throws IOException
IOException