Class WALEntryStreamTestBase
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.WALEntryStreamTestBase
- Direct Known Subclasses:
TestBasicWALEntryStream
,TestWALEntryStreamDifferentCounts
Base class for WALEntryStream tests.
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
protected static class
Test helper that waits until a non-null entry is available in the stream next or times out. -
Field Summary
Modifier and TypeFieldDescriptionprotected static org.apache.hadoop.hdfs.MiniDFSCluster
protected static org.apache.hadoop.conf.Configuration
protected final String
protected static final byte[]
protected static org.apache.hadoop.hdfs.DistributedFileSystem
protected static final org.apache.hadoop.hbase.client.RegionInfo
protected org.apache.hadoop.hbase.wal.WAL
protected org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceLogQueue
protected final org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl
protected WALEntryStreamTestBase.PathWatcher
protected static final byte[]
protected static final NavigableMap<byte[],
Integer> protected static final org.apache.hadoop.hbase.TableName
protected static final long
protected static HBaseTestingUtil
org.junit.rules.TestName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected long
appendToLog
(int count) protected void
protected void
appendToLogAndSync
(int count) private static NavigableMap<byte[],
Integer> protected org.apache.hadoop.hbase.wal.WALEdit
getWALEdits
(int count) protected void
initWAL()
protected static void
void
tearDown()
static void
-
Field Details
-
TEST_TIMEOUT_MS
- See Also:
-
TEST_UTIL
-
CONF
-
fs
-
cluster
-
tableName
-
family
-
qualifier
-
info
-
scopes
-
fakeWalGroupId
- See Also:
-
log
-
logQueue
-
pathWatcher
-
tn
-
mvcc
-
-
Constructor Details
-
WALEntryStreamTestBase
public WALEntryStreamTestBase()
-
-
Method Details
-
getScopes
-
startCluster
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
initWAL
- Throws:
IOException
-
tearDown
- Throws:
Exception
-
appendToLogAndSync
- Throws:
IOException
-
appendToLogAndSync
- Throws:
IOException
-
appendToLog
- Throws:
IOException
-
getWALEdits
-