public class TestFromClientSide3 extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestFromClientSide3.WaitingForMultiMutationsObserver |
static class |
TestFromClientSide3.WaitingForScanObserver |
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
ANOTHERROW |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
COL_QUAL |
private static byte[] |
FAMILY |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static byte[] |
QUALIFIER |
private static Random |
random |
private static byte[] |
ROW |
private static byte[] |
ROW_BYTES |
private static int |
SLAVES |
private static HBaseTestingUtility |
TEST_UTIL |
private static byte[] |
VAL_BYTES |
private static byte[] |
VALUE |
| Constructor and Description |
|---|
TestFromClientSide3() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
assertNoLocks(org.apache.hadoop.hbase.TableName tableName) |
private static org.apache.hadoop.hbase.regionserver.HRegion |
find(org.apache.hadoop.hbase.TableName tableName) |
private static <T extends org.apache.hadoop.hbase.coprocessor.RegionObserver> |
find(org.apache.hadoop.hbase.TableName tableName,
Class<T> clz) |
(package private) static byte[] |
generateHugeValue(int size) |
private void |
performMultiplePutAndFlush(org.apache.hadoop.hbase.client.HBaseAdmin admin,
org.apache.hadoop.hbase.client.Table table,
byte[] row,
byte[] family,
int nFlushes,
int nPuts) |
private void |
randomCFPuts(org.apache.hadoop.hbase.client.Table table,
byte[] row,
byte[] family,
int nPuts) |
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testAdvancedConfigOverride() |
void |
testBatchWithRowMutation() |
void |
testConnectionDefaultUsesCodec() |
void |
testGetEmptyRow() |
void |
testHTableBatchWithEmptyPut() |
void |
testHTableExistsAllBeforeGet() |
void |
testHTableExistsBeforeGet() |
void |
testHTableExistsMethodMultipleRegionsMultipleGets() |
void |
testHTableExistsMethodMultipleRegionsSingleGet() |
void |
testHTableExistsMethodSingleRegionMultipleGets() |
void |
testHTableExistsMethodSingleRegionSingleGet() |
void |
testHTableWithLargeBatch() |
void |
testLockLeakWithDelta() |
void |
testMultiRowMutations() |
void |
testMVCCUsingMVCCPreAssign()
A test case for issue HBASE-17482
After combile seqid with mvcc readpoint, seqid/mvcc is acquired and stamped
onto cells in the append thread, a countdown latch is used to ensure that happened
before cells can be put into memstore.
|
private void |
testPreBatchMutate(org.apache.hadoop.hbase.TableName tableName,
Runnable rn) |
void |
testPutThenGetWithMultipleThreads() |
void |
testPutWithPreBatchMutate() |
void |
testRowMutationsWithPreBatchMutate() |
void |
testScanAfterDeletingSpecifiedRow() |
void |
testScanAfterDeletingSpecifiedRowV2() |
void |
testScanWithBatchSizeReturnIncompleteCells() |
private static List<org.apache.hadoop.hbase.Cell> |
toList(org.apache.hadoop.hbase.client.ResultScanner scanner) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static byte[] FAMILY
private static int SLAVES
private static final byte[] ROW
private static final byte[] ANOTHERROW
private static final byte[] QUALIFIER
private static final byte[] VALUE
private static final byte[] COL_QUAL
private static final byte[] VAL_BYTES
private static final byte[] ROW_BYTES
public org.junit.rules.TestName name
public TestFromClientSide3()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionprivate void randomCFPuts(org.apache.hadoop.hbase.client.Table table, byte[] row, byte[] family, int nPuts) throws Exception
Exceptionprivate void performMultiplePutAndFlush(org.apache.hadoop.hbase.client.HBaseAdmin admin, org.apache.hadoop.hbase.client.Table table, byte[] row, byte[] family, int nFlushes, int nPuts) throws Exception
Exceptionprivate static List<org.apache.hadoop.hbase.Cell> toList(org.apache.hadoop.hbase.client.ResultScanner scanner)
public void testScanAfterDeletingSpecifiedRow() throws IOException
IOExceptionpublic void testScanAfterDeletingSpecifiedRowV2() throws IOException
IOExceptionpublic void testAdvancedConfigOverride() throws Exception
Exceptionpublic void testHTableBatchWithEmptyPut() throws Exception
Exceptionpublic void testHTableWithLargeBatch() throws Exception
Exceptionpublic void testBatchWithRowMutation() throws Exception
Exceptionpublic void testHTableExistsMethodSingleRegionSingleGet() throws Exception
Exceptionpublic void testHTableExistsMethodSingleRegionMultipleGets() throws Exception
Exceptionpublic void testHTableExistsBeforeGet() throws Exception
Exceptionpublic void testHTableExistsAllBeforeGet() throws Exception
Exceptionpublic void testHTableExistsMethodMultipleRegionsSingleGet() throws Exception
Exceptionpublic void testHTableExistsMethodMultipleRegionsMultipleGets() throws Exception
Exceptionpublic void testGetEmptyRow() throws Exception
Exceptionpublic void testConnectionDefaultUsesCodec() throws Exception
Exceptionpublic void testPutWithPreBatchMutate() throws Exception
Exceptionpublic void testRowMutationsWithPreBatchMutate() throws Exception
Exceptionprivate void testPreBatchMutate(org.apache.hadoop.hbase.TableName tableName, Runnable rn) throws Exception
Exceptionpublic void testLockLeakWithDelta() throws Exception, Throwable
public void testMultiRowMutations() throws Exception, Throwable
public void testMVCCUsingMVCCPreAssign() throws IOException
IOExceptionpublic void testPutThenGetWithMultipleThreads() throws Exception
Exceptionprivate static void assertNoLocks(org.apache.hadoop.hbase.TableName tableName) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprivate static org.apache.hadoop.hbase.regionserver.HRegion find(org.apache.hadoop.hbase.TableName tableName) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprivate static <T extends org.apache.hadoop.hbase.coprocessor.RegionObserver> T find(org.apache.hadoop.hbase.TableName tableName, Class<T> clz) throws IOException, InterruptedException
IOExceptionInterruptedExceptionstatic byte[] generateHugeValue(int size)
public void testScanWithBatchSizeReturnIncompleteCells() throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.