@InterfaceAudience.Private @InterfaceStability.Evolving public class AsyncFSWALProvider extends AbstractFSWALProvider<AsyncFSWAL>
AsyncFSWAL
.Modifier and Type | Class and Description |
---|---|
static interface |
AsyncFSWALProvider.AsyncWriter |
AbstractFSWALProvider.Reader
WALProvider.Writer, WALProvider.WriterBase
conf, DEFAULT_SEPARATE_OLDLOGDIR, factory, initialized, listeners, logPrefix, META_WAL_PROVIDER_ID, providerId, SEPARATE_OLDLOGDIR, SPLITTING_EXT, wal, WAL_FILE_NAME_DELIMITER
Constructor and Description |
---|
AsyncFSWALProvider() |
Modifier and Type | Method and Description |
---|---|
static AsyncFSWALProvider.AsyncWriter |
createAsyncWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
boolean overwritable,
org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup,
Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass)
Public because of AsyncFSWAL.
|
static AsyncFSWALProvider.AsyncWriter |
createAsyncWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
boolean overwritable,
long blocksize,
org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup,
Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass)
Public because of AsyncFSWAL.
|
protected AsyncFSWAL |
createWAL() |
protected void |
doInit(org.apache.hadoop.conf.Configuration conf) |
static boolean |
load()
Test whether we can load the helper classes for async dfs output.
|
addWALActionsListener, close, extractFileNumFromWAL, getArchivedLogPath, getCurrentFileName, getLogFileSize, getLogFileSize, getNumLogFiles, getNumRolledLogFiles, getServerNameFromWALDirectoryName, getServerNameFromWALDirectoryName, getWAL, getWALArchiveDirectoryName, getWALDirectoryName, getWALPrefixFromWALName, getWALs, init, isArchivedLogFile, isMetaFile, isMetaFile, openReader, shutdown, validateWALFilename
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWALFileLengthProvider
protected AsyncFSWAL createWAL() throws IOException
createWAL
in class AbstractFSWALProvider<AsyncFSWAL>
IOException
protected void doInit(org.apache.hadoop.conf.Configuration conf) throws IOException
doInit
in class AbstractFSWALProvider<AsyncFSWAL>
IOException
public static AsyncFSWALProvider.AsyncWriter createAsyncWriter(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, boolean overwritable, org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup, Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass) throws IOException
IOException
public static AsyncFSWALProvider.AsyncWriter createAsyncWriter(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, boolean overwritable, long blocksize, org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup, Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass) throws IOException
IOException
public static boolean load()
Copyright © 2007–2019 Cloudera. All rights reserved.