static long |
BoundedRegionGroupingProvider.getLogFileSize(WALFactory walFactory)
iff the given WALFactory is using the BoundedRegionGroupingProvider for meta and/or non-meta,
count the size of files (rolled and active).
|
static long |
DefaultWALProvider.getLogFileSize(WALFactory walFactory)
iff the given WALFactory is using the DefaultWALProvider for meta and/or non-meta,
count the size of files (rolled and active).
|
static long |
BoundedRegionGroupingProvider.getNumLogFiles(WALFactory walFactory)
iff the given WALFactory is using the BoundedRegionGroupingProvider for meta and/or non-meta,
count the number of files (rolled and active).
|
static long |
DefaultWALProvider.getNumLogFiles(WALFactory walFactory)
iff the given WALFactory is using the DefaultWALProvider for meta and/or non-meta,
count the number of files (rolled and active).
|
void |
BoundedRegionGroupingProvider.init(WALFactory factory,
Configuration conf,
List<WALActionsListener> listeners,
String providerId) |
void |
DefaultWALProvider.init(WALFactory factory,
Configuration conf,
List<WALActionsListener> listeners,
String providerId) |
void |
WALProvider.init(WALFactory factory,
Configuration conf,
List<WALActionsListener> listeners,
String providerId)
Set up the provider to create wals.
|
void |
IOTestProvider.init(WALFactory factory,
Configuration conf,
List<WALActionsListener> listeners,
String providerId) |
static List<Path> |
WALSplitter.split(Path rootDir,
Path logDir,
Path oldLogDir,
FileSystem fs,
Configuration conf,
WALFactory factory) |
static boolean |
WALSplitter.splitLogFile(Path rootDir,
FileStatus logfile,
FileSystem fs,
Configuration conf,
CancelableProgressable reporter,
LastSequenceId idChecker,
CoordinatedStateManager cp,
ZooKeeperProtos.SplitLogTask.RecoveryMode mode,
WALFactory factory)
Splits a WAL file into region's recovered-edits directory.
|