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
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void setUp() throws IOException, InterruptedException
IOException
InterruptedException
public void testAppend() throws IOException
IOException
public void testAppendWhenReturnResultsEqualsFalse() throws IOException
IOException
public void testIncrement() throws IOException
IOException
public void testIncrementWhenReturnResultsEqualsFalse() throws IOException
IOException
public void testIncrementInRowMutations() throws IOException
IOException
public void testAppendInRowMutations() throws IOException
IOException
public void testIncrementAndAppendInRowMutations() throws IOException
IOException
public void testIncrementInCheckAndMutate() throws IOException
IOException
public void testAppendInCheckAndMutate() throws IOException
IOException
public void testIncrementInRowMutationsInCheckAndMutate() throws IOException
IOException
public void testAppendInRowMutationsInCheckAndMutate() throws IOException
IOException
public void testIncrementAndAppendInRowMutationsInCheckAndMutate() throws IOException
IOException
public void testBatch() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.