@InterfaceAudience.Private public class FaultyFSLog extends FSHLog
| Modifier and Type | Class and Description |
|---|---|
static class |
FaultyFSLog.FailureType |
WAL.Entry, WAL.ReaderFIXED_OVERHEADblocksize, closed, conf, coprocessorHost, DEFAULT_SLOW_SYNC_TIME_MS, filenum, fs, highestSyncedTxid, highestUnsyncedTxid, implClassName, listeners, logrollsize, maxLogs, numEntries, ourFiles, prefixPathStr, rollWriterLock, sequenceIdAccounting, shutdown, slowSyncNs, totalLogSize, walArchiveDir, walDir, walFile2Props, walFilePrefix, walFileSuffix| Constructor and Description |
|---|
FaultyFSLog(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
String logName,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
long |
append(RegionInfo info,
WALKeyImpl key,
WALEdit edits,
boolean inMemstore) |
void |
setFailureType(FaultyFSLog.FailureType fType) |
void |
sync(long txid) |
void |
sync(long txid,
boolean forceSync) |
afterCreatingZigZagLatch, beforeWaitOnSafePoint, createWriterInstance, doAppend, doCheckLogLowReplication, doReplaceWriter, doShutdown, getSequenceOnRingBuffer, publishSyncOnRingBuffer, sync, syncabortCacheFlush, append, blockOnSync, checkLogLowReplication, close, completeCacheFlush, computeFilename, getCoprocessorHost, getCurrentFileName, getEarliestMemStoreSeqNum, getEarliestMemStoreSeqNum, getFilenum, getFileNumFromFileName, getLogFileSize, getLogFileSizeIfBeingWritten, getNumLogFiles, getNumRolledLogFiles, getPreallocatedEventCount, getSyncFuture, getWALArchivePath, logRollAndSetupWalProps, main, postSync, registerWALActionsListener, requestLogRoll, requestLogRoll, rollWriter, rollWriter, shutdown, stampSequenceIdAndPublishToRingBuffer, startCacheFlush, startCacheFlush, toString, unregisterWALActionsListener, updateStorepublic FaultyFSLog(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, String logName, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic void setFailureType(FaultyFSLog.FailureType fType)
public void sync(long txid) throws IOException
sync in interface WALsync in class FSHLogIOExceptionpublic void sync(long txid, boolean forceSync) throws IOException
sync in interface WALsync in class FSHLogIOExceptionpublic long append(RegionInfo info, WALKeyImpl key, WALEdit edits, boolean inMemstore) throws IOException
append in interface WALappend in class FSHLogIOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.