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 Summary
Nested ClassesModifier and TypeClassDescription(package private) static classAppender thread.static classProtobufLogWriter that simulates higher latencies in sync() call -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private static final intprivate static final intprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
TestLogRollingNoCluster
public TestLogRollingNoCluster()
-
-
Method Details
-
testContendedLogRolling
Spin up a bunch of threads and have them all append to a WAL. Roll the WAL frequently to try and trigger NPE.- Throws:
Exception
-