Package | Description |
---|---|
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.wal |
Modifier and Type | Field and Description |
---|---|
protected WALFactory |
HRegionServer.walFactory |
Constructor and Description |
---|
SplitLogWorker(Server hserver,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices server,
LastSequenceId sequenceIdChecker,
WALFactory factory) |
Modifier and Type | Method and Description |
---|---|
static WALFactory |
WALFactory.getInstance(org.apache.hadoop.conf.Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
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.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.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).
|
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).
|
void |
WALProvider.init(WALFactory factory,
org.apache.hadoop.conf.Configuration conf,
List<WALActionsListener> listeners,
String providerId)
Set up the provider to create wals.
|
void |
DefaultWALProvider.init(WALFactory factory,
org.apache.hadoop.conf.Configuration conf,
List<WALActionsListener> listeners,
String providerId) |
void |
BoundedRegionGroupingProvider.init(WALFactory factory,
org.apache.hadoop.conf.Configuration conf,
List<WALActionsListener> listeners,
String providerId) |
static List<org.apache.hadoop.fs.Path> |
WALSplitter.split(org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.fs.Path logDir,
org.apache.hadoop.fs.Path oldLogDir,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
WALFactory factory) |
static boolean |
WALSplitter.splitLogFile(org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.fs.FileStatus logfile,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
CancelableProgressable reporter,
LastSequenceId idChecker,
CoordinatedStateManager cp,
ZooKeeperProtos.SplitLogTask.RecoveryMode mode,
WALFactory factory)
Splits a WAL file into region's recovered-edits directory.
|
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.