@InterfaceAudience.Private @InterfaceStability.Evolving public class FSHLogProvider extends AbstractFSWALProvider<FSHLog>
FSHLog.| Modifier and Type | Class and Description |
|---|---|
static interface |
FSHLogProvider.Writer |
AbstractFSWALProvider.ReaderWALProvider.AsyncWriter, WALProvider.WriterBaseconf, DEFAULT_SEPARATE_OLDLOGDIR, factory, initialized, listeners, logPrefix, META_WAL_PROVIDER_ID, providerId, SEPARATE_OLDLOGDIR, SPLITTING_EXT, wal, WAL_FILE_NAME_DELIMITER| Constructor and Description |
|---|
FSHLogProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected FSHLog |
createWAL() |
static FSHLogProvider.Writer |
createWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
boolean overwritable)
public because of FSHLog.
|
protected void |
doInit(org.apache.hadoop.conf.Configuration conf) |
addWALActionsListener, close, extractFileNumFromWAL, getArchivedLogPath, getCurrentFileName, getLogFileSize, getLogFileSize, getNumLogFiles, getNumRolledLogFiles, getServerNameFromWALDirectoryName, getServerNameFromWALDirectoryName, getWAL, getWALArchiveDirectoryName, getWALDirectoryName, getWALPrefixFromWALName, getWALs, init, isArchivedLogFile, isMetaFile, isMetaFile, openReader, shutdown, validateWALFilenameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWALFileLengthProviderpublic static FSHLogProvider.Writer createWriter(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, boolean overwritable) throws IOException
IOExceptionprotected FSHLog createWAL() throws IOException
createWAL in class AbstractFSWALProvider<FSHLog>IOExceptionprotected void doInit(org.apache.hadoop.conf.Configuration conf)
throws IOException
doInit in class AbstractFSWALProvider<FSHLog>IOExceptionCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.