public class TestTableOperationException extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestTableOperationException.ThrowDoNotRetryIOExceptionCoprocessor |
static class |
TestTableOperationException.ThrowIOExceptionCoprocessor |
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
CF |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
CQ |
private static org.apache.hadoop.hbase.TableName |
TABLE_DONOT_RETRY |
private static org.apache.hadoop.hbase.TableName |
TABLE_RETRY |
private static org.apache.hadoop.hbase.client.Table |
tableDoNotRetry |
private static org.apache.hadoop.hbase.client.Table |
tableRetry |
private static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestTableOperationException() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUp() |
static void |
tearDown() |
void |
testAppendWithDoNotRetryIOException() |
void |
testAppendWithIOException() |
void |
testDeleteWithDoNotRetryIOException() |
void |
testDeleteWithIOException() |
void |
testGetWithDoNotRetryIOException() |
void |
testGetWithIOException() |
void |
testIncrementWithDoNotRetryIOException() |
void |
testIncrementWithIOException() |
void |
testPutWithDoNotRetryIOException() |
void |
testPutWithIOException() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility UTIL
private static org.apache.hadoop.hbase.TableName TABLE_DONOT_RETRY
private static org.apache.hadoop.hbase.TableName TABLE_RETRY
private static org.apache.hadoop.hbase.client.Table tableDoNotRetry
private static org.apache.hadoop.hbase.client.Table tableRetry
private static byte[] CF
private static byte[] CQ
public TestTableOperationException()
public void testGetWithDoNotRetryIOException() throws Exception
Exceptionpublic void testPutWithDoNotRetryIOException() throws Exception
Exceptionpublic void testDeleteWithDoNotRetryIOException() throws Exception
Exceptionpublic void testAppendWithDoNotRetryIOException() throws Exception
Exceptionpublic void testIncrementWithDoNotRetryIOException() throws Exception
Exceptionpublic void testGetWithIOException() throws Exception
Exceptionpublic void testPutWithIOException() throws Exception
Exceptionpublic void testDeleteWithIOException() throws Exception
Exceptionpublic void testAppendWithIOException() throws Exception
Exceptionpublic void testIncrementWithIOException() throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.