public class TestHTableNoncedRetry extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestHTableNoncedRetry.SleepOnceCP |
| Modifier and Type | Field and Description |
|---|---|
private static AtomicInteger |
CALLED |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.client.Connection |
CONN |
private static byte[] |
FAMILY |
private static int |
miniBatchOperationCount |
private static byte[] |
QUALIFIER |
private static byte[] |
QUALIFIER2 |
private static byte[] |
QUALIFIER3 |
private byte[] |
row |
private static int |
RPC_TIMEOUT |
private static int |
SLEEP_TIME |
private org.apache.hadoop.hbase.client.Table |
table |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
org.junit.rules.TestName |
testName |
private static byte[] |
VALUE |
| Constructor and Description |
|---|
TestHTableNoncedRetry() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testAppend() |
void |
testAppendInCheckAndMutate() |
void |
testAppendInRowMutations() |
void |
testAppendInRowMutationsInCheckAndMutate() |
void |
testAppendWhenReturnResultsEqualsFalse() |
void |
testBatch() |
void |
testIncrement() |
void |
testIncrementAndAppendInRowMutations() |
void |
testIncrementAndAppendInRowMutationsInCheckAndMutate() |
void |
testIncrementInCheckAndMutate() |
void |
testIncrementInRowMutations() |
void |
testIncrementInRowMutationsInCheckAndMutate() |
void |
testIncrementWhenReturnResultsEqualsFalse() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] FAMILY
private static final byte[] QUALIFIER
private static final byte[] QUALIFIER2
private static final byte[] QUALIFIER3
private static final byte[] VALUE
private static org.apache.hadoop.hbase.client.Connection CONN
public org.junit.rules.TestName testName
private byte[] row
private org.apache.hadoop.hbase.client.Table table
private static final AtomicInteger CALLED
private static final int SLEEP_TIME
private static final int RPC_TIMEOUT
private static int miniBatchOperationCount
public TestHTableNoncedRetry()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void setUp() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testAppend() throws IOException
IOExceptionpublic void testAppendWhenReturnResultsEqualsFalse() throws IOException
IOExceptionpublic void testIncrement() throws IOException
IOExceptionpublic void testIncrementWhenReturnResultsEqualsFalse() throws IOException
IOExceptionpublic void testIncrementInRowMutations() throws IOException
IOExceptionpublic void testAppendInRowMutations() throws IOException
IOExceptionpublic void testIncrementAndAppendInRowMutations() throws IOException
IOExceptionpublic void testIncrementInCheckAndMutate() throws IOException
IOExceptionpublic void testAppendInCheckAndMutate() throws IOException
IOExceptionpublic void testIncrementInRowMutationsInCheckAndMutate() throws IOException
IOExceptionpublic void testAppendInRowMutationsInCheckAndMutate() throws IOException
IOExceptionpublic void testIncrementAndAppendInRowMutationsInCheckAndMutate() throws IOException
IOExceptionpublic void testBatch() throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.