Class TestWALSyncTimeoutException
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.TestWALSyncTimeoutException
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private static final HBaseTestingUtilprivate static final byte[]private static org.apache.hadoop.hbase.TableNameprivate static booleanprivate static final longprivate static final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CLASS_RULE
-
FAMILY
-
QUAL
-
HTU
-
tableName
-
testWALTimout
-
timeoutMIlliseconds
- See Also:
-
USER_THREAD_NAME
-
-
Constructor Details
-
TestWALSyncTimeoutException
public TestWALSyncTimeoutException()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testWALSyncWriteException
This test is for HBASE-27230. WhenWAL.sync()timeout, it would throwsWALSyncTimeoutIOException,and whenHRegion.doWALAppend(org.apache.hadoop.hbase.wal.WALEdit, org.apache.hadoop.hbase.regionserver.HRegion.BatchOperation<?>, org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation>, long, org.apache.hadoop.hbase.util.NonceKey)catches this exception it aborts the RegionServer.- Throws:
Exception
-
createTable
- Throws:
Exception
-