public abstract class WALEntryStreamTestBase extends Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
WALEntryStreamTestBase.PathWatcher |
protected static class |
WALEntryStreamTestBase.WALEntryStreamWithRetries
Test helper that waits until a non-null entry is available in the stream next or times out.
|
Modifier and Type | Field and Description |
---|---|
protected static org.apache.hadoop.hdfs.MiniDFSCluster |
cluster |
protected static org.apache.hadoop.conf.Configuration |
CONF |
protected String |
fakeWalGroupId |
protected static byte[] |
family |
protected static org.apache.hadoop.fs.FileSystem |
fs |
protected static org.apache.hadoop.hbase.client.RegionInfo |
info |
protected org.apache.hadoop.hbase.wal.WAL |
log |
protected org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceLogQueue |
logQueue |
protected org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl |
mvcc |
protected WALEntryStreamTestBase.PathWatcher |
pathWatcher |
protected static byte[] |
qualifier |
protected static NavigableMap<byte[],Integer> |
scopes |
protected static org.apache.hadoop.hbase.TableName |
tableName |
protected static long |
TEST_TIMEOUT_MS |
protected static HBaseTestingUtility |
TEST_UTIL |
org.junit.rules.TestName |
tn |
Constructor and Description |
---|
WALEntryStreamTestBase() |
Modifier and Type | Method and Description |
---|---|
protected long |
appendToLog(int count) |
protected void |
appendToLogAndSync() |
protected void |
appendToLogAndSync(int count) |
private static NavigableMap<byte[],Integer> |
getScopes() |
protected org.apache.hadoop.hbase.wal.WALEdit |
getWALEdits(int count) |
protected void |
initWAL() |
protected static void |
startCluster() |
void |
tearDown() |
static void |
tearDownAfterClass() |
protected static final long TEST_TIMEOUT_MS
protected static HBaseTestingUtility TEST_UTIL
protected static org.apache.hadoop.conf.Configuration CONF
protected static org.apache.hadoop.fs.FileSystem fs
protected static org.apache.hadoop.hdfs.MiniDFSCluster cluster
protected static final org.apache.hadoop.hbase.TableName tableName
protected static final byte[] family
protected static final byte[] qualifier
protected static final org.apache.hadoop.hbase.client.RegionInfo info
protected static final NavigableMap<byte[],Integer> scopes
protected final String fakeWalGroupId
protected org.apache.hadoop.hbase.wal.WAL log
protected org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceLogQueue logQueue
protected WALEntryStreamTestBase.PathWatcher pathWatcher
public org.junit.rules.TestName tn
protected final org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl mvcc
public WALEntryStreamTestBase()
private static NavigableMap<byte[],Integer> getScopes()
protected static void startCluster() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
protected void initWAL() throws IOException
IOException
protected void appendToLogAndSync() throws IOException
IOException
protected void appendToLogAndSync(int count) throws IOException
IOException
protected long appendToLog(int count) throws IOException
IOException
protected org.apache.hadoop.hbase.wal.WALEdit getWALEdits(int count)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.