Class TestLogRollingNoCluster
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.TestLogRollingNoCluster
Test many concurrent appenders to an WAL while rolling the log.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) static classAppender thread.static classProtobufLogWriter that simulates higher latencies in sync() call
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private static final intprivate static final intprivate static final HBaseTestingUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidSpin up a bunch of threads and have them all append to a WAL.
- 
Field Details- 
CLASS_RULE
- 
TEST_UTIL
- 
EMPTY_1K_ARRAY
- 
NUM_THREADS- See Also:
 
- 
NUM_ENTRIES- See Also:
 
 
- 
- 
Constructor Details- 
TestLogRollingNoClusterpublic TestLogRollingNoCluster()
 
- 
- 
Method Details- 
testContendedLogRollingSpin up a bunch of threads and have them all append to a WAL. Roll the WAL frequently to try and trigger NPE.- Throws:
- Exception
 
 
-