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
Nested ClassesModifier and TypeClassDescription(package private) classprotected static classTest helper that waits until a non-null entry is available in the stream next or times out. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.hadoop.hdfs.MiniDFSClusterprotected static org.apache.hadoop.conf.Configurationprotected final Stringprotected static final byte[]protected static org.apache.hadoop.hdfs.DistributedFileSystemprotected static final org.apache.hadoop.hbase.client.RegionInfoprotected org.apache.hadoop.hbase.wal.WALprotected org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceLogQueueprotected final org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControlprotected WALEntryStreamTestBase.PathWatcherprotected static final byte[]protected static final NavigableMap<byte[],Integer> protected static final org.apache.hadoop.hbase.TableNameprotected static final longprotected static HBaseTestingUtilityorg.junit.rules.TestName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longappendToLog(int count) protected voidprotected voidappendToLogAndSync(int count) private static NavigableMap<byte[],Integer> protected org.apache.hadoop.hbase.wal.WALEditgetWALEdits(int count) protected voidinitWAL()protected static voidvoidtearDown()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
-