public class TestAsyncTableScanException extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestAsyncTableScanException.ErrorCP |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.client.AsyncConnection |
CONN |
private static boolean |
DO_NOT_RETRY |
private static boolean |
ERROR |
private static int |
ERROR_AT |
private static byte[] |
FAMILY |
private static byte[] |
QUAL |
private static AtomicInteger |
REQ_COUNT |
private static int |
ROW_COUNT |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestAsyncTableScanException() |
| Modifier and Type | Method and Description |
|---|---|
private void |
count() |
static void |
setUp() |
void |
setUpBeforeTest() |
static void |
tearDown() |
void |
testDoNotRetryIOException() |
void |
testIOException() |
void |
testRecoveryFromScannerResetInTheMiddle() |
void |
testRecoveryFromScannerResetWhileOpening() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility UTIL
private static org.apache.hadoop.hbase.TableName TABLE_NAME
private static byte[] FAMILY
private static byte[] QUAL
private static org.apache.hadoop.hbase.client.AsyncConnection CONN
private static AtomicInteger REQ_COUNT
private static volatile int ERROR_AT
private static volatile boolean ERROR
private static volatile boolean DO_NOT_RETRY
private static final int ROW_COUNT
public TestAsyncTableScanException()
public void setUpBeforeTest()
public void testDoNotRetryIOException() throws IOException
IOExceptionpublic void testIOException() throws IOException
IOExceptionprivate void count() throws IOException
IOExceptionpublic void testRecoveryFromScannerResetWhileOpening() throws IOException
IOExceptionpublic void testRecoveryFromScannerResetInTheMiddle() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.