Class TestWALSyncTimeoutException
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.TestWALSyncTimeoutException
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final HBaseTestingUtility
private static final byte[]
private static org.apache.hadoop.hbase.TableName
private static boolean
private static final long
private static final String
-
Constructor Summary
-
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.client.Durability, java.util.List<java.util.UUID>, long, long, long)
catches this exception it aborts the RegionServer.- Throws:
Exception
-
createTable
- Throws:
Exception
-