public class TestRemoteHTableRetries extends Object
Modifier and Type | Class and Description |
---|---|
private static interface |
TestRemoteHTableRetries.CallExecutor |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.rest.client.Client |
client |
private static byte[] |
COLUMN_1 |
private static long |
MAX_TIME |
private static byte[] |
QUALIFIER_1 |
private RemoteHTable |
remoteTable |
private static int |
RETRIES |
private static byte[] |
ROW_1 |
private static int |
SLEEP_TIME |
private static HBaseTestingUtility |
TEST_UTIL |
private static byte[] |
VALUE_1 |
Constructor and Description |
---|
TestRemoteHTableRetries() |
Modifier and Type | Method and Description |
---|---|
void |
setup() |
void |
tearDownAfterClass() |
void |
testCheckAndDelete() |
void |
testCheckAndPut() |
void |
testDelete() |
void |
testGet() |
void |
testGetScanner() |
void |
testMultiRowPut() |
void |
testSingleRowPut() |
private void |
testTimedOutCall(TestRemoteHTableRetries.CallExecutor callExecutor) |
private void |
testTimedOutGetCall(TestRemoteHTableRetries.CallExecutor callExecutor) |
public static final HBaseClassTestRule CLASS_RULE
private static final int SLEEP_TIME
private static final int RETRIES
private static final long MAX_TIME
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] ROW_1
private static final byte[] COLUMN_1
private static final byte[] QUALIFIER_1
private static final byte[] VALUE_1
private org.apache.hadoop.hbase.rest.client.Client client
private RemoteHTable remoteTable
public TestRemoteHTableRetries()
public void tearDownAfterClass() throws Exception
Exception
public void testDelete() throws Exception
Exception
public void testSingleRowPut() throws Exception
Exception
public void testMultiRowPut() throws Exception
Exception
public void testGetScanner() throws Exception
Exception
public void testCheckAndPut() throws Exception
Exception
public void testCheckAndDelete() throws Exception
Exception
private void testTimedOutGetCall(TestRemoteHTableRetries.CallExecutor callExecutor) throws Exception
Exception
private void testTimedOutCall(TestRemoteHTableRetries.CallExecutor callExecutor) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.